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
2008-12-04 09:17:19 -08:00
2005-04-16 15:20:36 -07:00
2008-12-04 09:17:19 -08:00
2009-02-08 22:00:55 -08:00
2008-12-04 09:17:19 -08:00
2008-12-04 09:17:19 -08:00
2008-12-04 09:17:19 -08:00
2011-12-04 15:59:49 +02:00
2014-08-14 12:48:13 +02:00
2008-05-20 00:33:44 -07:00
2014-05-02 01:30:21 -04:00
2008-12-09 04:09:07 -08:00
2008-12-04 09:17:19 -08:00
2008-12-04 09:17:19 -08:00
2009-02-08 22:00:55 -08:00
2008-12-04 09:17:19 -08:00
2008-12-04 09:17:19 -08:00
2008-12-09 01:07:09 -08:00
2008-12-04 09:17:19 -08:00
2008-12-04 09:17:19 -08:00
2012-05-19 15:23:57 -07:00
2008-12-04 09:17:19 -08:00