summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2012-03-02 11:52:31 -0600
committerClark Williams <williams@redhat.com>2012-03-02 11:52:31 -0600
commit080df7359f70d59312294bf6aecd780fb042fff8 (patch)
tree0af6b08c4117bb8069b4a72cda06f0d7152513a0
parentb75aebab20449c81fadfe0556e26807a2529cee2 (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 7c93c7eb0e56..c50462535fe6 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