diff options
author | Allen Pais <allen.pais@oracle.com> | 2013-12-13 09:44:41 +0530 |
---|---|---|
committer | Anders Roxell <anders.roxell@linaro.org> | 2015-05-08 22:38:59 +0200 |
commit | 7082ec323a3469f9224b3ddaea75dfc0b67b1958 (patch) | |
tree | e32e2eb2d5a169b4de1a6612fe34c61bbd987f54 /arch/sparc | |
parent | 6ee59a7bf2b436174d0d360fbed1cebafee39a72 (diff) |
sparc64: use generic rwsem spinlocks rt
Signed-off-by: Allen Pais <allen.pais@oracle.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Diffstat (limited to 'arch/sparc')
-rw-r--r-- | arch/sparc/Kconfig | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig index 5e340d55f99b..950b5733fdff 100644 --- a/arch/sparc/Kconfig +++ b/arch/sparc/Kconfig @@ -182,12 +182,10 @@ config NR_CPUS source kernel/Kconfig.hz config RWSEM_GENERIC_SPINLOCK - bool - default y if SPARC32 + def_bool PREEMPT_RT_FULL config RWSEM_XCHGADD_ALGORITHM - bool - default y if SPARC64 + def_bool !RWSEM_GENERIC_SPINLOCK && !PREEMPT_RT_FULL config GENERIC_HWEIGHT bool |