Cannot compile 2.4.19-pre7 with APIC without IOAPIC

Pavel Roskin (proski@gnu.org)
Tue, 16 Apr 2002 20:27:52 -0400 (EDT)


Hello!

I'm getting this error when compiling 2.4.19-pre7:

init/main.o: In function `smp_init':
init/main.o(.text.init+0x5e1): undefined reference to `skip_ioapic_setup'
arch/i386/kernel/kernel.o: In function `broken_pirq':
arch/i386/kernel/kernel.o(.text.init+0x3427): undefined reference to
`skip_ioapic_setup'

Processor is AMD K7, SMP is disabled, APIC is enabled, IOAPIC is disabled.

It turns out that skip_ioapic_setup is defined in
arch/i386/kernel/io_apic.c, which is only compiled when CONFIG_X86_IO_APIC
is defined, but it's used in init/main.c if SMP is disabled and APIC is
enabled.

-- 
Regards,
Pavel Roskin

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