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>2014-05-14 18:37:40 (GMT)
commit8de4808d4eaa649c68f115f5053d5b0170534d29 (patch)
tree8119d26752c407c9c356e63a7058ecaafacdfd11 /arch/sparc
parent1c589453de85f3797882891dd32ff9fe2d0adf01 (diff)
downloadlinux-fsl-qoriq-8de4808d4eaa649c68f115f5053d5b0170534d29.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 17b8889..cd3756a 100644
--- a/arch/sparc/Kconfig
+++ b/arch/sparc/Kconfig
@@ -177,12 +177,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