]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitee71e2781734b918fca2d24e747a7debcd91f4b6
treea6f80407b354a67b5eb4f7269b68b186984ada74
parentcb6b115e8d8d38e7720a9e53410a1f22f7b9768a
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]