Skip to contentSkip to conversation

2.4.10pre12: IO_APIC_init_uniprocessor undefined

DISCUSSION Henrik Størner 2 participants 2 messages Sep 19, 2001

lore
Share & tools
lore
#0 lore raw

Compiling without SMP but with "APIC and IO-APIC support on uniprocessors" enabled, i.e.

# CONFIG_SMP is not set
CONFIG_X86_UP_IOAPIC=y
CONFIG_X86_IO_APIC=y
CONFIG_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]> 
#1 lore raw
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 with IO_APIC_init_uniprocessor undefined.

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)