arm64: locks: Remove CONFIG_GENERIC_LOCKBREAK
authorCatalin Marinas <catalin.marinas@arm.com>
Wed, 6 Nov 2013 11:42:41 +0000 (11:42 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 6 Nov 2013 11:42:41 +0000 (11:42 +0000)
Commit 52ea2a560a9d (arm64: locks: introduce ticket-based spinlock
implementation) introduces the arch_spin_is_contended() function making
CONFIG_GENERIC_LOCKBREAK unnecessary.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Will Deacon <will.deacon@arm.com>
arch/arm64/Kconfig

index bbb5d94..ce6ae94 100644 (file)
@@ -62,10 +62,6 @@ config LOCKDEP_SUPPORT
 config TRACE_IRQFLAGS_SUPPORT
        def_bool y
 
-config GENERIC_LOCKBREAK
-       def_bool y
-       depends on SMP && PREEMPT
-
 config RWSEM_GENERIC_SPINLOCK
        def_bool y