WSL2-Linux-Kernel/arch
Heiko Carstens 03b8c7b623 futex: Allow architectures to skip futex_atomic_cmpxchg_inatomic() test
If an architecture has futex_atomic_cmpxchg_inatomic() implemented and there
is no runtime check necessary, allow to skip the test within futex_init().

This allows to get rid of some code which would always give the same result,
and also allows the compiler to optimize a couple of if statements away.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Finn Thain <fthain@telegraphics.com.au>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Link: http://lkml.kernel.org/r/20140302120947.GA3641@osiris
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2014-03-03 11:32:08 +01:00
..
alpha locking/mcs: Allow architecture specific asm files to be used for contended case 2014-02-09 21:18:52 +01:00
arc locking/mcs: Allow architecture specific asm files to be used for contended case 2014-02-09 21:18:52 +01:00
arm locking/mcs: Allow architecture specific asm files to be used for contended case 2014-02-09 21:18:52 +01:00
arm64 locking/mcs: Allow architecture specific asm files to be used for contended case 2014-02-09 21:18:52 +01:00
avr32 locking/mcs: Allow architecture specific asm files to be used for contended case 2014-02-09 21:18:52 +01:00
blackfin locking/mcs: Allow architecture specific asm files to be used for contended case 2014-02-09 21:18:52 +01:00
c6x locking/mcs: Allow architecture specific asm files to be used for contended case 2014-02-09 21:18:52 +01:00
cris locking/mcs: Allow architecture specific asm files to be used for contended case 2014-02-09 21:18:52 +01:00
frv locking/mcs: Allow architecture specific asm files to be used for contended case 2014-02-09 21:18:52 +01:00
hexagon locking/mcs: Allow architecture specific asm files to be used for contended case 2014-02-09 21:18:52 +01:00
ia64 locking/mcs: Allow architecture specific asm files to be used for contended case 2014-02-09 21:18:52 +01:00
m32r locking/mcs: Allow architecture specific asm files to be used for contended case 2014-02-09 21:18:52 +01:00
m68k locking/mcs: Allow architecture specific asm files to be used for contended case 2014-02-09 21:18:52 +01:00
metag locking/mcs: Allow architecture specific asm files to be used for contended case 2014-02-09 21:18:52 +01:00
microblaze locking/mcs: Allow architecture specific asm files to be used for contended case 2014-02-09 21:18:52 +01:00
mips locking/mcs: Allow architecture specific asm files to be used for contended case 2014-02-09 21:18:52 +01:00
mn10300 locking/mcs: Allow architecture specific asm files to be used for contended case 2014-02-09 21:18:52 +01:00
openrisc locking/mcs: Allow architecture specific asm files to be used for contended case 2014-02-09 21:18:52 +01:00
parisc locking/mcs: Allow architecture specific asm files to be used for contended case 2014-02-09 21:18:52 +01:00
powerpc locking/mcs: Allow architecture specific asm files to be used for contended case 2014-02-09 21:18:52 +01:00
s390 futex: Allow architectures to skip futex_atomic_cmpxchg_inatomic() test 2014-03-03 11:32:08 +01:00
score locking/mcs: Allow architecture specific asm files to be used for contended case 2014-02-09 21:18:52 +01:00
sh locking/mcs: Allow architecture specific asm files to be used for contended case 2014-02-09 21:18:52 +01:00
sparc locking/mcs: Allow architecture specific asm files to be used for contended case 2014-02-09 21:18:52 +01:00
tile locking/mcs: Allow architecture specific asm files to be used for contended case 2014-02-09 21:18:52 +01:00
um locking/mcs: Allow architecture specific asm files to be used for contended case 2014-02-09 21:18:52 +01:00
unicore32 locking/mcs: Allow architecture specific asm files to be used for contended case 2014-02-09 21:18:52 +01:00
x86 locking/mcs: Allow architecture specific asm files to be used for contended case 2014-02-09 21:18:52 +01:00
xtensa locking/mcs: Allow architecture specific asm files to be used for contended case 2014-02-09 21:18:52 +01:00
.gitignore
Kconfig