diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-07-26 02:21:32 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2015-06-18 18:16:33 -0400 |
commit | a0e60e2354cae935c8fbcdc8dedbef0e9a812da8 (patch) | |
tree | 78ac0c4e45938370d019ea29b770a3e0715eb766 | |
parent | 2d1febbf2ce2a89f82a28654f159509ca2aa814b (diff) | |
download | linux-rt-a0e60e2354cae935c8fbcdc8dedbef0e9a812da8.tar.gz |
x86: Use generic rwsem_spinlocks on -rt
Simplifies the separation of anon_rw_semaphores and rw_semaphores for
-rt.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
-rw-r--r-- | arch/x86/Kconfig | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 3635fff7b32d..6e9d2cc9dcc4 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -197,8 +197,11 @@ config ARCH_MAY_HAVE_PC_FDC def_bool y depends on ISA_DMA_API +config RWSEM_GENERIC_SPINLOCK + def_bool PREEMPT_RT_FULL + config RWSEM_XCHGADD_ALGORITHM - def_bool y + def_bool !RWSEM_GENERIC_SPINLOCK && !PREEMPT_RT_FULL config GENERIC_CALIBRATE_DELAY def_bool y |