mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-30 22:21:34 +00:00
27 lines
589 B
Diff
27 lines
589 B
Diff
From: Thomas Gleixner <tglx@linutronix.de>
|
|
Date: Tue, 14 Jul 2015 14:26:34 +0200
|
|
Subject: powerpc: Use generic rwsem on RT
|
|
|
|
Use generic code which uses rtmutex
|
|
|
|
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
|
|
---
|
|
arch/powerpc/Kconfig | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
--- a/arch/powerpc/Kconfig
|
|
+++ b/arch/powerpc/Kconfig
|
|
@@ -111,10 +111,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
|