s390: use generic rwsem implementation
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Sat, 30 Sep 2017 08:54:31 +0000 (10:54 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 4 Oct 2017 08:30:31 +0000 (10:30 +0200)
commit91a1fad759ffd616b836984ca0420c7ad5996eef
treea6f80407b354a67b5eb4f7269b68b186984ada74
parente0d281d067f6514f8afdae919e5990958136f197
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>
arch/s390/include/asm/Kbuild
arch/s390/include/asm/rwsem.h [deleted file]