summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2012-04-13 11:01:49 -0500
committerClark Williams <williams@redhat.com>2012-04-13 11:01:49 -0500
commit15c177db6ef5477a6260d5203e9c5591c6c1f504 (patch)
treea51193d8d2fd1eeafbe5292ab319106dd19628ec
parent88edc0eb4ba26aab0fa47e2acc2a847ce8f9e7c1 (diff)
power-use-generic-rwsem-on-rt
-rw-r--r--arch/powerpc/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index feab3bad6d0f..981d71fbce0b 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -69,10 +69,11 @@ config LOCKDEP_SUPPORT
config RWSEM_GENERIC_SPINLOCK
bool
+ default y if PREEMPT_RT_FULL
config RWSEM_XCHGADD_ALGORITHM
bool
- default y
+ default y if !PREEMPT_RT_FULL
config GENERIC_LOCKBREAK
bool