diff options
author | Raghavendra K T <raghavendra.kt@linux.vnet.ibm.com> | 2012-03-22 05:55:08 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2012-03-23 08:18:57 -0400 |
commit | e335e3eb82dada2765297f6ba501afc7555aba10 (patch) | |
tree | bf805c292a9b30103c4ebe6cb373831ec43c2836 /lib/Kconfig.debug | |
parent | 280fb016bfb098f33df96016cfaa840db77ba2d0 (diff) |
locking/kconfig: Simplify INLINE_SPIN_UNLOCK usage
Get rid of INLINE_SPIN_UNLOCK entirely replacing it with
UNINLINE_SPIN_UNLOCK instead of the reverse meaning.
Whoever wants to change the default spinlock inlining
behavior and uninline the spinlocks for some weird reason,
such as spinlock debugging, paravirt etc. can now all just
select UNINLINE_SPIN_UNLOCK
Original discussion at: https://lkml.org/lkml/2012/3/21/357
Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Raghavendra K T <raghavendra.kt@linux.vnet.ibm.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Chris Metcalf <cmetcalf@tilera.com>
Cc: Chris Zankel <chris@zankel.net>
Cc: linux-mips@linux-mips.org
Link: http://lkml.kernel.org/r/20120322095502.30866.75756.sendpatchset@codeblue
[ tidied up the changelog a bit ]
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r-- | lib/Kconfig.debug | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 05037dc9bde7..f32a41f2a82a 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -499,6 +499,7 @@ config RT_MUTEX_TESTER | |||
499 | config DEBUG_SPINLOCK | 499 | config DEBUG_SPINLOCK |
500 | bool "Spinlock and rw-lock debugging: basic checks" | 500 | bool "Spinlock and rw-lock debugging: basic checks" |
501 | depends on DEBUG_KERNEL | 501 | depends on DEBUG_KERNEL |
502 | select UNINLINE_SPIN_UNLOCK | ||
502 | help | 503 | help |
503 | Say Y here and build SMP to catch missing spinlock initialization | 504 | Say Y here and build SMP to catch missing spinlock initialization |
504 | and certain other kinds of spinlock errors commonly made. This is | 505 | and certain other kinds of spinlock errors commonly made. This is |