From c8c87c0a500a1cd6e22a380e0e3a4b9705174b6d Mon Sep 17 00:00:00 2001 From: Allen Pais Date: Fri, 13 Dec 2013 09:44:41 +0530 Subject: sparc64: use generic rwsem spinlocks rt Signed-off-by: Allen Pais Signed-off-by: Sebastian Andrzej Siewior diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig index fedffff..e1e2af4 100644 --- a/arch/sparc/Kconfig +++ b/arch/sparc/Kconfig @@ -179,12 +179,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 -- cgit v0.10.2