Skip to content

Commit

Permalink
ARM: 7484/1: Don't enable GENERIC_LOCKBREAK with ticket spinlocks
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stephen Boyd authored and Russell King committed Aug 11, 2012
1 parent 3d9fb00 commit f1898f6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f1898f6

Please sign in to comment.