]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[PATCH] SPARC64: Fix futex_atomic_cmpxchg_inatomic implementation.
authorDavid Miller <davem@davemloft.net>
Thu, 2 Nov 2006 05:55:00 +0000 (21:55 -0800)
committerChris Wright <chrisw@sous-sol.org>
Sun, 19 Nov 2006 03:27:58 +0000 (19:27 -0800)
commitfbce4d7fea4bd2a3e54be9c1c29440d5b4dfc600
tree9afcd28613992e5373e723cdc58822ff73bd2933
parent413f83a2b9826449d1b70961e55c482ec8309b49
[PATCH] SPARC64: Fix futex_atomic_cmpxchg_inatomic implementation.

I copied the logic from ll/sc arch implementations, but that
was wrong and makes no sense at all.  Just do a straight
compare-exchange instruction, just like x86.

Based upon bug reports from Dennis Gilmore and Fabio Massimo.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
include/asm-sparc64/futex.h