linux/arch/sparc/include
Andreas Larsson 882b3ba4a8 sparc32: Implement xchg and atomic_xchg using ATOMIC_HASH locks
[ Upstream commit 1a17fdc4f4 ]

Atomicity between xchg and cmpxchg cannot be guaranteed when xchg is
implemented with a swap and cmpxchg is implemented with locks.
Without this, e.g. mcs_spin_lock and mcs_spin_unlock are broken.

Signed-off-by: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2014-11-21 09:23:00 -08:00
..
asm sparc32: Implement xchg and atomic_xchg using ATOMIC_HASH locks 2014-11-21 09:23:00 -08:00
uapi/asm sparc: Hook up sched_setattr and sched_getattr syscalls. 2014-01-29 00:45:06 -08:00