android_kernel_xiaomi_sm8350/arch/sparc/lib
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
..
ashldi3.S
ashrdi3.S
atomic32.c sparc32: Implement xchg and atomic_xchg using ATOMIC_HASH locks 2014-11-07 12:51:44 -08:00
atomic_64.S locking, sparc64: Fix atomics 2014-09-10 11:45:04 +02:00
bitext.c
bitops.S
blockops.S
bzero.S
checksum_32.S
checksum_64.S
clear_page.S sparc64: Make PAGE_OFFSET variable. 2013-11-12 15:22:34 -08:00
cmpdi2.c
copy_in_user.S
copy_page.S sparc64: Make PAGE_OFFSET variable. 2013-11-12 15:22:34 -08:00
copy_user.S
COPYING.LIB
csum_copy_from_user.S
csum_copy_to_user.S
csum_copy.S
divdi3.S
ffs.S
GENbzero.S
GENcopy_from_user.S
GENcopy_to_user.S
GENmemcpy.S
GENpage.S
GENpatch.S
hweight.S
iomap.c
ipcsum.S
ksyms.c locking,arch,sparc: Fold atomic_ops 2014-08-14 12:48:13 +02:00
libgcc.h
locks.S
lshrdi3.S
Makefile sparc32: introduce asm-generic/io.h 2014-05-02 01:30:21 -04:00
mcount.S sparc64,ftrace: Remove check of obsolete variable function_trace_stop 2014-07-18 13:57:03 -04:00
memcmp.S
memcpy.S
memmove.S
memscan_32.S
memscan_64.S
memset.S sparc: Let memset return the address argument 2014-09-09 16:38:10 -07:00
muldi3.S
NG2copy_from_user.S
NG2copy_to_user.S
NG2memcpy.S sparc64: Add membar to Niagara2 memcpy code. 2014-05-17 11:28:05 -07:00
NG2patch.S
NG4clear_page.S
NG4copy_from_user.S
NG4copy_page.S
NG4copy_to_user.S
NG4memcpy.S sparc64: Fix FPU register corruption with AES crypto offload. 2014-10-14 19:37:58 -07:00
NG4memset.S
NG4patch.S
NGbzero.S
NGcopy_from_user.S
NGcopy_to_user.S
NGmemcpy.S
NGpage.S
NGpatch.S
PeeCeeI.c sparc64: update IO access functions in PeeCeeI 2014-07-21 21:43:18 -07:00
strlen.S
strncmp_32.S
strncmp_64.S
U1copy_from_user.S
U1copy_to_user.S
U1memcpy.S
U3copy_from_user.S
U3copy_to_user.S
U3memcpy.S
U3patch.S
ucmpdi2.c
udivdi3.S
user_fixup.c
VISsave.S
xor.S