diff options
author | Márton Németh <nm127@freemail.hu> | 2012-05-08 00:24:20 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2012-05-08 11:23:15 +0200 |
commit | d1ecad6eee8629c6b425580aad76cf99b85956e9 (patch) | |
tree | caf9b53eef231395a26938c5fdc11f87545c1cef /arch/x86/xen | |
parent | 9438ef7f4ea73d5430a330fc206f97826eb9fb16 (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 <nm127@freemail.hu>
Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: Naga Chumbalkar <nagananda.chumbalkar@hp.com>
Link: http://lkml.kernel.org/r/1336461860.2296.3.camel@sbsiddha-mobl2
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/xen')
0 files changed, 0 insertions, 0 deletions