ARM: 7484/1: Don't enable GENERIC_LOCKBREAK with ticket spinlocks
authorStephen Boyd <sboyd@codeaurora.org>
Mon, 6 Aug 2012 17:43:42 +0000 (18:43 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 11 Aug 2012 08:15:58 +0000 (09:15 +0100)
commitf1898f6be9a2e3690fb62d8307849b86a89cc36c
treeb7644ae4cc245bb969d897027e2bfc023b861017
parent3d9fb0038a9b02febb01efc79a4a5d97f1822a90
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>
arch/arm/Kconfig