x86, ticketlock: Don't inline _spin_unlock when using paravirt spinlocks
authorRaghavendra K T <raghavendra.kt@linux.vnet.ibm.com>
Fri, 9 Aug 2013 14:21:50 +0000 (19:51 +0530)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 9 Aug 2013 14:53:10 +0000 (07:53 -0700)
commit8db732668a48e93d00d881517a08136e8fa71000
tree3ccc165a5fac51ffc31389c95d0170f478effee9
parent545ac13892ab391049a92108cf59a0d05de7e28c
x86, ticketlock: Don't inline _spin_unlock when using paravirt spinlocks

The code size expands somewhat, and its better to just call
a function rather than inline it.

Thanks Jeremy for original version of ARCH_NOINLINE_SPIN_UNLOCK config patch,
which is simplified.

Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Raghavendra K T <raghavendra.kt@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/r/1376058122-8248-3-git-send-email-raghavendra.kt@linux.vnet.ibm.com
Acked-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/Kconfig