Commit 472e7312 authored by Thomas Gleixner's avatar Thomas Gleixner

x86: Use generic rwsem_spinlocks on -rt

Simplifies the separation of anon_rw_semaphores and rw_semaphores for
-rt.
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent f2905d54
......@@ -122,10 +122,18 @@ config ARCH_MAY_HAVE_PC_FDC
def_bool y
config RWSEM_GENERIC_SPINLOCK
def_bool !X86_XADD
bool
depends on !X86_XADD || PREEMPT_RT
default y
config ASM_SEMAPHORES
bool
default y
config RWSEM_XCHGADD_ALGORITHM
def_bool X86_XADD
bool
depends on X86_XADD && !RWSEM_GENERIC_SPINLOCK && !PREEMPT_RT
default y
config ARCH_HAS_CPU_IDLE_WAIT
def_bool y
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment