summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorStephen Boyd2012-08-06 19:43:42 +0200
committerRussell King2012-08-11 10:15:58 +0200
commitf1898f6be9a2e3690fb62d8307849b86a89cc36c (patch)
treeb7644ae4cc245bb969d897027e2bfc023b861017 /arch/arm
parentARM: 7483/1: vfp: only advertise VFPv4 in hwcaps if CONFIG_VFPv3 is enabled (diff)
downloadkernel-qcow2-linux-f1898f6be9a2e3690fb62d8307849b86a89cc36c.tar.gz
kernel-qcow2-linux-f1898f6be9a2e3690fb62d8307849b86a89cc36c.tar.xz
kernel-qcow2-linux-f1898f6be9a2e3690fb62d8307849b86a89cc36c.zip
ARM: 7484/1: Don't enable GENERIC_LOCKBREAK with ticket spinlocks
Now that ARM has implemented its spinlocks with tickets we don't need to use the generic lockbreak algorithm. Remove the Kconfig from ARM so that we use the arch_spin_is_contended() definition from the asm header. This also saves a word in each lock because we don't need the break_lock member anymore. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Acked-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/Kconfig5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index e91c7cdc6fe5..e4191ccbdb7a 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -126,11 +126,6 @@ config TRACE_IRQFLAGS_SUPPORT
bool
default y
-config GENERIC_LOCKBREAK
- bool
- default y
- depends on SMP && PREEMPT
-
config RWSEM_GENERIC_SPINLOCK
bool
default y