aboutsummaryrefslogtreecommitdiffstats
path: root/lib/spinlock_debug.c
diff options
context:
space:
mode:
authorMárton Németh <[email protected]>2012-05-08 07:24:20 +0000
committerIngo Molnar <[email protected]>2012-05-08 09:23:15 +0000
commitd1ecad6eee8629c6b425580aad76cf99b85956e9 (patch)
treecaf9b53eef231395a26938c5fdc11f87545c1cef /lib/spinlock_debug.c
parentx86/apic: Fix UP boot crash (diff)
downloadkernel-d1ecad6eee8629c6b425580aad76cf99b85956e9.tar.gz
kernel-d1ecad6eee8629c6b425580aad76cf99b85956e9.zip
x86/apic: Only compile local function if used with !CONFIG_GENERIC_PENDING_IRQ
The local function io_apic_level_ack_pending() is only called from io_apic_level_ack_pending(). The later function is only compiled if CONFIG_GENERIC_PENDING_IRQ is defined. Move the io_apic_level_ack_pending() to the existing #ifdef CONFIG_GENERIC_PENDING_IRQ code block. This will remove the following warning message during compiling without CONFIG_GENERIC_PENDING_IRQ defined: * arch/x86/kernel/apic/io_apic.c:382: warning: ‘io_apic_level_ack_pending’ defined but not used Signed-off-by: Márton Németh <[email protected]> Signed-off-by: Suresh Siddha <[email protected]> Cc: Yinghai Lu <[email protected]> Cc: Naga Chumbalkar <[email protected]> Link: http://lkml.kernel.org/r/1336461860.2296.3.camel@sbsiddha-mobl2 Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions