summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-07-26 00:21:32 (GMT)
committerScott Wood <scottwood@freescale.com>2014-05-14 18:38:35 (GMT)
commitbb8e42ea09b38f270acfd3588152874392dacbd6 (patch)
treef4d334cba5740f72181a11b1281b3f3cb75f568e
parentf02c356b272e50dda0f8cd58e5601f198cfd5625 (diff)
downloadlinux-fsl-qoriq-bb8e42ea09b38f270acfd3588152874392dacbd6.tar.xz
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>
-rw-r--r--arch/x86/Kconfig7
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index f67e839..7a6b720 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -179,8 +179,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
@@ -470,7 +473,7 @@ config X86_MDFLD
select MFD_INTEL_MSIC
---help---
Medfield is Intel's Low Power Intel Architecture (LPIA) based Moblin
- Internet Device(MID) platform.
+ Internet Device(MID) platform.
Unlike standard x86 PCs, Medfield does not have many legacy devices
nor standard legacy replacement devices/features. e.g. Medfield does
not contain i8259, i8254, HPET, legacy BIOS, most of the io ports.