aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAllen Pais <allen.pais@oracle.com>2013-12-13 09:44:41 +0530
committerGary S. Robertson <gary.robertson@linaro.org>2014-06-06 15:23:42 -0500
commitede08ef034a438c29822bdf12b7c698dcdcc20c8 (patch)
tree4ac7717df199b2e705711b65eafb897680ddf3e9 /arch
parent2c71f56534be5657ac6dec787c7029d575b991b7 (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>
Diffstat (limited to 'arch')
-rw-r--r--arch/sparc/Kconfig6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig
index 3a1885a96552..6f37371ad77d 100644
--- a/arch/sparc/Kconfig
+++ b/arch/sparc/Kconfig
@@ -179,12 +179,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