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
..
alpha mm: mlock: add mlock flags to enable VM_LOCKONFAULT usage 2015-11-05 19:34:48 -08:00
arc ARC: dw2 unwind: Catch Dwarf SNAFUs early 2015-12-21 14:01:49 +05:30
arm arm: define __smp_xxx 2016-01-12 20:46:54 +02:00
arm64 arm64: define __smp_xxx 2016-01-12 20:46:53 +02:00
avr32 dmaengine updates for 4.4-rc1 2015-11-10 10:05:17 -08:00
blackfin blackfin: define __smp_xxx 2016-01-12 20:46:54 +02:00
c6x
cris cris: Drop reference to get_cmos_time() 2015-11-02 20:03:05 +01:00
frv kmap_atomic_to_page() has no users, remove it 2015-11-09 15:11:24 -08:00
h8300 h8300 update for v4.4 2015-11-12 15:26:39 -08:00
hexagon
ia64 ia64: define __smp_xxx 2016-01-12 20:46:55 +02:00
m32r m32r: add io*_rep helpers 2015-12-29 17:45:49 -08:00
m68k m68k: Wire up mlock2 2015-11-22 11:35:26 +01:00
metag metag: define __smp_xxx 2016-01-12 20:46:55 +02:00
microblaze Revert "scatterlist: use sg_phys()" 2015-12-15 12:54:06 -08:00
mips mips: define __smp_xxx 2016-01-12 20:46:56 +02:00
mn10300 mn10300: Select CONFIG_HAVE_UID16 to fix build failure 2015-11-30 07:01:40 -08:00
nios2 nios2: fix cache coherency 2015-11-26 22:25:58 +08:00
openrisc
parisc parisc: Fix syscall restarts 2015-12-21 10:16:18 +01:00
powerpc powerpc: define __smp_xxx 2016-01-12 20:46:53 +02:00
s390 s390: define __smp_xxx 2016-01-12 20:46:56 +02:00
score
sh sh: move xchg_cmpxchg to a header by itself 2016-01-12 20:47:02 +02:00
sparc sparc: define __smp_xxx 2016-01-12 20:46:57 +02:00
tile tile: define __smp_xxx 2016-01-12 20:46:58 +02:00
um um: fix returns without va_end 2015-12-08 22:26:00 +01:00
unicore32 pwm: Changes for v4.4-rc1 2015-11-11 09:16:10 -08:00
x86 x86: define __smp_xxx 2016-01-12 20:46:59 +02:00
xtensa xtensa: define __smp_xxx 2016-01-12 20:46:58 +02:00
.gitignore
Kconfig