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
..
2012-05-11 20:33:22 -07:00
2012-05-11 20:33:22 -07:00
2014-11-07 12:51:44 -08:00
2014-09-10 11:45:04 +02:00
2013-03-31 19:29:12 -04:00
2012-05-11 20:33:22 -07:00
2012-05-11 20:33:22 -07:00
2012-05-11 20:33:22 -07:00
2011-05-11 21:35:04 -07:00
2008-12-04 09:17:19 -08:00
2013-11-12 15:22:34 -08:00
2007-08-26 18:49:09 -07:00
2009-02-08 22:32:31 -08:00
2013-11-12 15:22:34 -08:00
2006-09-29 16:12:41 -07:00
2005-04-16 15:20:36 -07:00
2009-05-29 16:12:02 -07:00
2009-05-29 16:12:02 -07:00
2008-12-04 09:17:19 -08:00
2012-05-15 11:23:47 -07:00
2011-08-02 21:28:53 -07:00
2009-02-08 22:00:55 -08:00
2009-02-08 22:32:31 -08:00
2009-02-08 22:32:31 -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-08-02 21:28:50 -07:00
2011-12-04 15:59:49 +02:00
2012-05-11 20:33:22 -07:00
2014-08-14 12:48:13 +02:00
2007-08-26 18:49:09 -07:00
2008-05-20 00:33:44 -07:00
2012-05-11 20:33:22 -07:00
2014-05-02 01:30:21 -04:00
2014-07-18 13:57:03 -04:00
2008-12-09 04:09:07 -08:00
2011-10-20 15:17:23 -07:00
2012-05-11 20:33:22 -07:00
2008-12-04 09:17:18 -08:00
2008-12-04 09:17:19 -08:00
2014-09-09 16:38:10 -07:00
2012-05-15 11:23:47 -07:00
2009-02-08 22:32:31 -08:00
2009-02-08 22:32:31 -08:00
2014-05-17 11:28:05 -07:00
2008-12-04 09:17:19 -08:00
2012-10-05 13:45:26 -07:00
2012-09-27 14:26:41 -07:00
2012-10-05 13:45:26 -07:00
2012-09-27 00:35:11 -07:00
2014-10-14 19:37:58 -07:00
2012-10-05 13:45:26 -07:00
2012-10-05 13:45:26 -07:00
2009-02-08 22:00:55 -08:00
2009-02-08 22:32:31 -08:00
2009-02-08 22:32:31 -08:00
2008-12-04 09:17:19 -08:00
2012-09-27 00:35:11 -07:00
2008-12-04 09:17:19 -08:00
2014-07-21 21:43:18 -07:00
2008-12-09 01:07:09 -08:00
2012-05-11 20:33:22 -07:00
2012-05-11 20:33:22 -07:00
2009-02-08 22:32:31 -08:00
2009-02-08 22:32:31 -08:00
2012-06-27 01:25:23 -07:00
2009-02-08 22:00:55 -08:00
2009-02-08 22:32:31 -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
2012-05-15 11:23:47 -07:00
2009-01-08 16:58:20 -08:00
2008-12-04 09:17:19 -08:00
2012-05-11 20:33:22 -07:00