x86: x2apic, IR: Move eoi_ioapic_irq() into a CONFIG_INTR_REMAP section
authorSuresh Siddha <suresh.b.siddha@intel.com>
Mon, 20 Apr 2009 20:02:28 +0000 (13:02 -0700)
committerIngo Molnar <mingo@elte.hu>
Tue, 21 Apr 2009 07:08:26 +0000 (09:08 +0200)
commit25629d810a52176758401184d9b437fbb7f79195
tree4d7ab567477c889de4833c591348868cefa6a8b6
parentfc1edaf9e7cc4d4696f83dee495b8f158d01c4eb
x86: x2apic, IR: Move eoi_ioapic_irq() into a CONFIG_INTR_REMAP section

Address the following complier warning:

   arch/x86/kernel/apic/io_apic.c:2543: warning: `eoi_ioapic_irq' defined but not used

By moving that function (and eoi_ioapic_irq()) into an existing
#ifdef CONFIG_INTR_REMAP section of the code.

[ Impact: cleanup ]

Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: dwmw2@infradead.org
Cc: Weidong Han <weidong.han@intel.com>
LKML-Reference: <20090420200450.271099000@linux-os.sc.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: Weidong Han <weidong.han@intel.com>
arch/x86/kernel/apic/io_apic.c