aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-add.c
diff options
context:
space:
mode:
authorMárton Németh <[email protected]>2012-05-08 00:24:20 -0700
committerIngo Molnar <[email protected]>2012-05-08 11:23:15 +0200
commitd1ecad6eee8629c6b425580aad76cf99b85956e9 (patch)
treecaf9b53eef231395a26938c5fdc11f87545c1cef /lib/mpi/mpi-add.c
parent9438ef7f4ea73d5430a330fc206f97826eb9fb16 (diff)
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/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions