Andreas Larsson 1a17fdc4f4 sparc32: Implement xchg and atomic_xchg using ATOMIC_HASH locks
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>
2014-11-07 12:51:44 -08:00
..
2014-09-10 11:45:04 +02:00
2011-12-04 15:59:49 +02:00
2014-08-14 12:48:13 +02:00
2014-05-02 01:30:21 -04:00
2012-05-19 15:23:57 -07:00