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
..
2008-07-27 23:00:59 +02:00
2008-12-09 00:50:13 -08:00
2014-04-18 14:20:44 +02:00
2012-03-28 18:30:03 +01:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2012-03-28 18:30:03 +01:00
2014-08-26 13:45:55 -04:00
2014-08-26 13:45:55 -04:00
2014-04-29 01:12:25 -04:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2008-08-31 20:56:15 -07:00
2012-03-28 18:30:03 +01:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2013-03-20 11:06:54 -07:00
2014-09-16 18:26:40 -07:00
2008-07-27 23:00:59 +02:00
2011-05-12 13:44:29 -07:00
2008-07-27 23:00:59 +02:00
2014-10-05 16:53:40 -07:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2012-05-15 10:22:00 -07:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2012-03-28 18:30:03 +01:00
2012-05-14 14:05:07 -07:00
2008-07-27 23:00:59 +02:00
2012-07-26 16:46:16 -07:00
2014-05-02 01:30:20 -04:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2014-09-23 16:21:27 -04:00
2008-07-27 23:00:59 +02:00
2012-04-15 10:28:50 -07:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2012-07-26 16:46:16 -07:00
2008-07-27 23:00:59 +02:00