summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/Kconfig
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2019-01-01 14:08:32 -0800
committerMax Filippov <jcmvbkbc@gmail.com>2019-02-07 12:24:20 -0800
commit579afe866f52adcd921272a224ab36733051059c (patch)
tree52e253ca6b73e447d269df4e11b07a0836b7cdd2 /arch/xtensa/Kconfig
parentaf3d890b4303cfc9df4b785c852246d4c7013436 (diff)
downloadlinux-579afe866f52adcd921272a224ab36733051059c.tar.gz
linux-579afe866f52adcd921272a224ab36733051059c.tar.bz2
linux-579afe866f52adcd921272a224ab36733051059c.zip
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>
Diffstat (limited to 'arch/xtensa/Kconfig')
-rw-r--r--arch/xtensa/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig
index ce91682770cb..91a96cb958d8 100644
--- a/arch/xtensa/Kconfig
+++ b/arch/xtensa/Kconfig
@@ -4,6 +4,8 @@ config XTENSA
select ARCH_HAS_SYNC_DMA_FOR_CPU
select ARCH_HAS_SYNC_DMA_FOR_DEVICE
select ARCH_NO_COHERENT_DMA_MMAP if !MMU
+ select ARCH_USE_QUEUED_RWLOCKS
+ select ARCH_USE_QUEUED_SPINLOCKS
select ARCH_WANT_FRAME_POINTERS
select ARCH_WANT_IPC_PARSE_VERSION
select BUILDTIME_EXTABLE_SORT