commit | c7fed9d75074f7c243ec8ff2c55d04de2839a6f6 | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Wed Nov 01 16:30:39 2006 -0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 01 16:30:39 2006 -0800 |
tree | b3392f8dc1db4707e19e260e8b2b71f5c2145eae | |
parent | 3ccfc65c5004e5fe5cfbffe43b8acc686680b53e [diff] |
[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>