linux/arch
Peter Zijlstra d4608dd5b4 locking,arch,xtensa: Fold atomic_ops
Many of the atomic op implementations are the same except for one
instruction; fold the lot into a few CPP macros and reduce LoC.

This also prepares for easy addition of new ops.

Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: Chris Zankel <chris@zankel.net>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: linux-xtensa@linux-xtensa.org
Link: http://lkml.kernel.org/r/20140508135852.879575796@infradead.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2014-08-14 12:48:14 +02:00
..
alpha locking,arch,alpha: Fold atomic_ops 2014-08-14 12:48:03 +02:00
arc locking,arch,arc: Fold atomic_ops 2014-08-14 12:48:03 +02:00
arm locking,arch,arm: Fold atomic_ops 2014-08-14 12:48:04 +02:00
arm64 locking,arch,arm64: Fold atomic_ops 2014-08-14 12:48:04 +02:00
avr32 locking,arch,avr32: Fold atomic_ops 2014-08-14 12:48:05 +02:00
blackfin Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2014-08-04 16:09:53 -07:00
c6x arch, locking: Ciao arch_mutex_cpu_relax() 2014-07-17 12:32:47 +02:00
cris locking,arch,cris: Fold atomic_ops 2014-08-14 12:48:06 +02:00
frv sys_sgetmask/sys_ssetmask: add CONFIG_SGETMASK_SYSCALL 2014-06-04 16:54:14 -07:00
hexagon locking,arch,hexagon: Fold atomic_ops 2014-08-14 12:48:06 +02:00
ia64 locking,arch,ia64: Fold atomic_ops 2014-08-14 12:48:07 +02:00
m32r locking,arch,m32r: Fold atomic_ops 2014-08-14 12:48:08 +02:00
m68k locking,arch,m68k: Fold atomic_ops 2014-08-14 12:48:08 +02:00
metag locking,arch,metag: Fold atomic_ops 2014-08-14 12:48:09 +02:00
microblaze Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2014-08-04 16:09:06 -07:00
mips locking,arch,mips: Fold atomic_ops 2014-08-14 12:48:09 +02:00
mn10300 locking,arch,mn10300: Fold atomic_ops 2014-08-14 12:48:10 +02:00
openrisc arch, locking: Ciao arch_mutex_cpu_relax() 2014-07-17 12:32:47 +02:00
parisc locking,arch,parisc: Fold atomic_ops 2014-08-14 12:48:11 +02:00
powerpc locking,arch,powerpc: Fold atomic_ops 2014-08-14 12:48:11 +02:00
s390 Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2014-08-04 16:09:53 -07:00
score arch, locking: Ciao arch_mutex_cpu_relax() 2014-07-17 12:32:47 +02:00
sh locking,arch,sh: Fold atomic_ops 2014-08-14 12:48:12 +02:00
sparc locking,arch,sparc: Fold atomic_ops 2014-08-14 12:48:13 +02:00
tile Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2014-08-04 16:09:06 -07:00
um um: segv: Save regs only in case of a kernel mode fault 2014-07-20 13:39:27 +02:00
unicore32 arch, locking: Ciao arch_mutex_cpu_relax() 2014-07-17 12:32:47 +02:00
x86 locking,x86: Kill atomic_or_long() 2014-08-14 12:48:02 +02:00
xtensa locking,arch,xtensa: Fold atomic_ops 2014-08-14 12:48:14 +02:00
.gitignore
Kconfig