lkml.org 
[lkml]   [2010]   [Apr]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [2.6.31.13] Build failure at arch/x86/kernel/apic/io_apic.c
From
Date
Commit d539e5576605d048e6aeb21cbe3a8e71dc5eea81 "x86: Fix SCI on IOAPIC != 0"
introduced "void setup_IO_APIC_irq_extra(u32 gsi)" which calls
mp_find_ioapic() and mp_find_ioapic_pin().

This commit does not compile if CONFIG_X86_IO_APIC=y and CONFIG_ACPI=n .

Regards.

Greg KH wrote:
> On Mon, Apr 12, 2010 at 11:30:43AM +0900, Tetsuo Handa wrote:
> > Hello.
> >
> > CC arch/x86/kernel/apic/io_apic.o
> > arch/x86/kernel/apic/io_apic.c: In function `setup_IO_APIC_irq_extra':
> > arch/x86/kernel/apic/io_apic.c:1575: error: implicit declaration of function `mp_find_ioapic'
> > arch/x86/kernel/apic/io_apic.c:1579: error: implicit declaration of function `mp_find_ioapic_pin'
> > make[3]: *** [arch/x86/kernel/apic/io_apic.o] Error 1
> > make[2]: *** [arch/x86/kernel/apic] Error 2
> > make[1]: *** [arch/x86/kernel] Error 2
> > make: *** [arch/x86] Error 2
> >
> > This is because
> >
> > #ifdef CONFIG_ACPI
> > (...snipped...)
> > #ifdef CONFIG_X86_IO_APIC
> > extern int mp_find_ioapic(int gsi);
> > extern int mp_find_ioapic_pin(int ioapic, int gsi);
> > #endif
> > (...snipped...)
> > #endif
> >
> > but CONFIG_X86_IO_APIC=y and CONFIG_ACPI=n in my config.
> > 2.6.31.12 was OK.
>
> What patch caused this?
>
> thanks,
>
> greg k-h


\
 
 \ /
  Last update: 2010-04-12 06:15    [W:0.514 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site