]> git.baikalelectronics.ru Git - kernel.git/commit
xtensa: use generic spinlock/rwlock implementation
authorMax Filippov <jcmvbkbc@gmail.com>
Tue, 1 Jan 2019 22:08:32 +0000 (14:08 -0800)
committerMax Filippov <jcmvbkbc@gmail.com>
Thu, 7 Feb 2019 20:24:20 +0000 (12:24 -0800)
commitd4a7fd4bf2c5b5121c57e8761d2c7ceadde12053
tree52e253ca6b73e447d269df4e11b07a0836b7cdd2
parent13c41843d50007c88695de341a20f620a04a8a62
xtensa: use generic spinlock/rwlock implementation

Drop custom spinlock/rwlock code and use ones from asm-generic. This way
there is less code duplication (atomic primitives are reused).

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/Kconfig
arch/xtensa/include/asm/Kbuild
arch/xtensa/include/asm/spinlock.h
arch/xtensa/include/asm/spinlock_types.h