summaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/Kbuild
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2017-09-30 10:54:31 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2017-10-04 10:30:31 +0200
commit91a1fad759ffd616b836984ca0420c7ad5996eef (patch)
treea6f80407b354a67b5eb4f7269b68b186984ada74 /arch/s390/include/asm/Kbuild
parents390/disassembler: add new z14 instructions (diff)
downloadlinux-91a1fad759ffd616b836984ca0420c7ad5996eef.tar.xz
linux-91a1fad759ffd616b836984ca0420c7ad5996eef.zip
s390: use generic rwsem implementation
We never optimized our rwsem inline assemblies to make use of the new atomic instructions. The generic rwsem implementation implicitly makes use of the new instructions, since it implements the required rwsem primitives with atomic operations, which we did optimize. However even when compiling for old architectures the generic variant still generates better code. So it's time to simply remove our old code and switch to the generic implementation. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/Kbuild')
-rw-r--r--arch/s390/include/asm/Kbuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/include/asm/Kbuild b/arch/s390/include/asm/Kbuild
index 6e2c9f7e47fa..41c211a4d8b1 100644
--- a/arch/s390/include/asm/Kbuild
+++ b/arch/s390/include/asm/Kbuild
@@ -15,6 +15,7 @@ generic-y += local64.h
generic-y += mcs_spinlock.h
generic-y += mm-arch-hooks.h
generic-y += preempt.h
+generic-y += rwsem.h
generic-y += trace_clock.h
generic-y += unaligned.h
generic-y += word-at-a-time.h