android_kernel_xiaomi_sm8350/include
Nicolas Pitre a7d0683361 [ARM] 3165/1: fix atomic_cmpxchg() implementation for ARMv6+
Patch from Nicolas Pitre

If 'old' and 'oldval' are different then 'res' never gets set.  In that
case, if ever %0 happened to contain anything but zero (rather likely)
then the code will loop forever (or until another CPU just come along
and change the atomic value to match 'old' which is rather unlikely).

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2005-11-16 15:05:11 +00:00
..
acpi
asm-alpha [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
asm-arm [ARM] 3165/1: fix atomic_cmpxchg() implementation for ARMv6+ 2005-11-16 15:05:11 +00:00
asm-arm26 [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
asm-cris [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
asm-frv [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
asm-generic Merge x86-64 update from Andi 2005-11-14 19:56:02 -08:00
asm-h8300 [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
asm-i386 Merge x86-64 update from Andi 2005-11-14 19:56:02 -08:00
asm-ia64 [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
asm-m32r [PATCH] consolidate sys_ptrace() 2005-11-07 07:53:42 -08:00
asm-m68k [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
asm-m68knommu [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
asm-mips [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
asm-parisc [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
asm-powerpc powerpc: Remove an extraneous and incorrect declaration of pmac_nvram_init. 2005-11-15 11:17:02 +11:00
asm-ppc powerpc: Move a bunch of ppc64 headers to include/asm-powerpc 2005-11-14 17:22:01 +11:00
asm-ppc64 powerpc: Move most remaining ppc64 files over to arch/powerpc 2005-11-14 17:30:17 +11:00
asm-s390 [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
asm-sh [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
asm-sh64 [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
asm-sparc [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
asm-sparc64 [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
asm-um
asm-v850 [PATCH] v850: use generic hardirq code 2005-11-15 08:59:20 -08:00
asm-x86_64 Merge x86-64 update from Andi 2005-11-14 19:56:02 -08:00
asm-xtensa [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
keys
linux Merge branch 'upstream-fixes' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev 2005-11-15 12:45:33 -08:00
math-emu
media [PATCH] v4l: (945) adds a new include for internal v4l2 ioctls and api 2005-11-13 18:14:19 -08:00
mtd
net [TCP]: More spelling fixes. 2005-11-15 15:17:10 -08:00
pcmcia
rdma [IB] uverbs: have kernel return QP capabilities 2005-11-10 10:22:50 -08:00
rxrpc
scsi
sound
video