mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-30 14:10:57 +00:00
34 lines
876 B
Diff
34 lines
876 B
Diff
From c60dd1b0d2dacd22df582b78b3ef708cf9e6d118 Mon Sep 17 00:00:00 2001
|
|
From: Allen Pais <allen.pais@oracle.com>
|
|
Date: Fri, 13 Dec 2013 09:44:41 +0530
|
|
Subject: [PATCH 067/418] sparc64: use generic rwsem spinlocks rt
|
|
|
|
Signed-off-by: Allen Pais <allen.pais@oracle.com>
|
|
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
|
|
---
|
|
arch/sparc/Kconfig | 6 ++----
|
|
1 file changed, 2 insertions(+), 4 deletions(-)
|
|
|
|
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig
|
|
index 4e83f950713e..7f9d71523763 100644
|
|
--- a/arch/sparc/Kconfig
|
|
+++ b/arch/sparc/Kconfig
|
|
@@ -206,12 +206,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
|
|
--
|
|
2.17.1
|
|
|