summaryrefslogtreecommitdiff
path: root/arch/sparc
diff options
context:
space:
mode:
authorAllen Pais <allen.pais@oracle.com>2013-12-13 04:14:41 (GMT)
committerScott Wood <scottwood@freescale.com>2015-02-13 22:20:04 (GMT)
commitc8c87c0a500a1cd6e22a380e0e3a4b9705174b6d (patch)
treed5ac1f0e9fd13fcb0a398d5a594106f584f225ea /arch/sparc
parent9f42dc15725e6dceb8e08bebfefd45eb528ba283 (diff)
downloadlinux-fsl-qoriq-c8c87c0a500a1cd6e22a380e0e3a4b9705174b6d.tar.xz
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/sparc')
-rw-r--r--arch/sparc/Kconfig6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig
index fedffff..e1e2af4 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