2.4.10pre12: IO_APIC_init_uniprocessor undefined
Compiling without SMP but with "APIC and IO-APIC support on uniprocessors" enabled, i.e.
# CONFIG_SMP is not setCONFIG_X86_UP_IOAPIC=yCONFIG_X86_IO_APIC=yCONFIG_X86_LOCAL_APIC=y
fails with IO_APIC_init_uniprocessor undefined. This comes from init/main.c line 486, which has the only mention of this routine in the kernel source - it seems pre12 removed this routine from kernel/io_apic.c. So is this just a forgotten remnant of that clean-up, or should there have been a replacement in the patch?
Signature · 1 line
Henrik Storner <[email protected]>
Quoted 3 lines · On Wed, 19 Sep 2001 10:52:40 +0200, <[email protected]> wrote:
Compiling without SMP but with "APIC and IO-APIC support on uniprocessors" enabled, i.e.
fails withIO_APIC_init_uniprocessorundefined.
Index: 10-pre12.1/init/main.c
init/main.c Wed, 19 Sep 2001 21:28:17 +1000 kaos (linux-2.4/k/11_main.c 1.1.5.1.1.8.1.3 644) renamed from init/main.c Fri, 06 Jul 2001 09:49:24 +1000 kaos (linux-2.4/k/11_main.c 1.1.5.1.1.8.1.3 644) +1 -1
@@ -483,7 +483,7 @@ extern void cpu_idle(void); #ifdef CONFIG_X86_IO_APIC static void __init smp_init(void) { - IO_APIC_init_uniprocessor(); + APIC_init_uniprocessor(); } #else #define smp_init() do { } while (0)