RE: [PATCH 0/5] fix bugs of x2apic/intr-remap

From: Han, Weidong
Date: Fri Apr 17 2009 - 23:08:45 EST


Ingo Molnar wrote:
> Note, there's a new compiler warning caused by your patches:
>
> arch/x86/kernel/apic/io_apic.c:2543: warning: 'eoi_ioapic_irq'
> defined but not used
>
> most likely by:
>
> 631dd75: x86, intr-remap: fix ack for interrupt remapping
>
> Ingo

eoi_ioapic_irq is only used for remapped interrupt, so we should define eoi_ioapic_irq and __eoi_ioapic_irq when #ifdef CONFIG_INTR_REMAP.

Regards,
Weidong--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/