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-04-10 00:18:31 (GMT)
commitf535e3ce3b36bc29ea2444e77491b9e2be121010 (patch)
treef576b4e9aafa34fb222de3e90161c5022129fb3d /arch/sparc
parent9d0a22775c0f7ab8a95d431993a61ccc16393578 (diff)
downloadlinux-fsl-qoriq-f535e3ce3b36bc29ea2444e77491b9e2be121010.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 49d5f09..71e5099 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