From: Arnd Bergmann <arnd@arndb.de>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>,
Paul Mundt <lethal@linux-sh.org>,
linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org
Subject: Re: [PATCH] unicore32 fix: remove arch-specific futex support
Date: Wed, 30 Mar 2011 14:40:03 +0200 [thread overview]
Message-ID: <201103301440.03479.arnd@arndb.de> (raw)
In-Reply-To: <alpine.LFD.2.00.1103301421390.22418@localhost6.localdomain6>
On Wednesday 30 March 2011, Thomas Gleixner wrote:
> The problem is that you need cmpxchg in user space as well.
>
> ARM does this with some syscall magic for machines which do not have
> cmpxchg.
Ah, right. I wonder how sh does it.
I also remember that the original unicore32 ABI had support for a cmpxchg
system call, but that was removed with the move to the generic syscall
table.
It is of course possible to add it back using the __NR_arch_specific_syscall
entry point.
Arnd
next prev parent reply other threads:[~2011-03-30 12:45 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-30 8:48 [PATCH] unicore32 fix: remove arch-specific futex support Guan Xuetao
2011-03-30 8:48 ` Guan Xuetao
2011-03-30 12:17 ` Arnd Bergmann
2011-03-30 12:27 ` Thomas Gleixner
2011-03-30 12:40 ` Arnd Bergmann [this message]
2011-03-30 12:50 ` Thomas Gleixner
2011-03-31 10:16 ` Guan Xuetao
2011-03-31 10:16 ` Guan Xuetao
2011-04-01 9:09 ` Arnd Bergmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201103301440.03479.arnd@arndb.de \
--to=arnd@arndb.de \
--cc=gxt@mprc.pku.edu.cn \
--cc=lethal@linux-sh.org \
--cc=linux-arch@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.