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)
commit579afe866f52adcd921272a224ab36733051059c
tree52e253ca6b73e447d269df4e11b07a0836b7cdd2
parentaf3d890b4303cfc9df4b785c852246d4c7013436
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