android_kernel_xiaomi_sm8350/arch/ppc64/lib
David S. Miller 4db2ce0199 [LIB]: Consolidate _atomic_dec_and_lock()
Several implementations were essentialy a common piece of C code using
the cmpxchg() macro.  Put the implementation in one spot that everyone
can share, and convert sparc64 over to using this.

Alpha is the lone arch-specific implementation, which codes up a
special fast path for the common case in order to avoid GP reloading
which a pure C version would require.

Signed-off-by: David S. Miller <davem@davemloft.net>
2005-09-14 21:47:01 -07:00
..
checksum.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
copypage.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
copyuser.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
e2a.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
locks.c [PATCH] spinlock consolidation 2005-09-10 10:06:21 -07:00
Makefile [LIB]: Consolidate _atomic_dec_and_lock() 2005-09-14 21:47:01 -07:00
memcpy.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sstep.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
strcase.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
string.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
usercopy.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00