]> git.baikalelectronics.ru Git - kernel.git/commit
locking/kconfig: Simplify INLINE_SPIN_UNLOCK usage
authorRaghavendra K T <raghavendra.kt@linux.vnet.ibm.com>
Thu, 22 Mar 2012 09:55:08 +0000 (15:25 +0530)
committerIngo Molnar <mingo@kernel.org>
Fri, 23 Mar 2012 12:18:57 +0000 (13:18 +0100)
commit25e9e3540fd80556b067eb4f748f478aa9bf7675
treebf805c292a9b30103c4ebe6cb373831ec43c2836
parentb052bef53bdab5466a5d004dc79f1327c1d23193
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>
arch/mips/configs/db1300_defconfig
arch/xtensa/configs/iss_defconfig
include/linux/spinlock_api_smp.h
kernel/Kconfig.locks
kernel/Kconfig.preempt
kernel/spinlock.c
lib/Kconfig.debug