Files
linux/arch
Michael S. Tsirkin 9e3f84ce41 sh: move xchg_cmpxchg to a header by itself
Looks like future sh variants will support a 4-byte cas which will be
used to implement 1 and 2 byte xchg.

This is exactly what we do for llsc now, move the portable part of the
code into a separate header so it's easy to reuse.

Suggested-by:  Rich Felker <dalias@libc.org>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
2016-01-12 20:47:02 +02:00
..
2016-01-12 20:46:54 +02:00
2016-01-12 20:46:53 +02:00
2016-01-12 20:46:54 +02:00
2016-01-12 20:46:55 +02:00
2015-12-29 17:45:49 -08:00
2015-11-22 11:35:26 +01:00
2016-01-12 20:46:55 +02:00
2016-01-12 20:46:56 +02:00
2015-11-26 22:25:58 +08:00
2015-12-21 10:16:18 +01:00
2016-01-12 20:46:53 +02:00
2016-01-12 20:46:56 +02:00
2016-01-12 20:46:57 +02:00
2016-01-12 20:46:58 +02:00
2015-12-08 22:26:00 +01:00
2016-01-12 20:46:59 +02:00
2016-01-12 20:46:58 +02:00