Skip to contentSkip to conversation

I/O-APIC not enabled in 2.4.19-pre8 on UP machines

PATCH Peter Osterlund 3 participants 3 messages May 19, 2002 – May 20, 2002

lore
Share & tools
lore
#0 lore raw

It looks like I/O-APIC setup was accidentally disabled in 2.4.19-pre7 for UP machines.

Here is a patch to fix it:

arch/i386/kernel/io_apic.c renamed from arch/i386/kernel/io_apic.c.orig +1 -5
@@ -191,11 +191,7 @@
 #define MAX_PIRQS 8
 int pirq_entries [MAX_PIRQS];
 int pirqs_enabled;
-#ifdef CONFIG_X86_UP_APIC
-int skip_ioapic_setup=1;
-#else
-int skip_ioapic_setup=0;
-#endif
+int skip_ioapic_setup;
 
 static int __init noioapic_setup(char *str)
 {
Signature · 2 lines
Peter Osterlund - [email protected]
http://w1.894.telia.com/~u89404340
#1 lore raw

Hello Peter Osterlund,

Many thanks. The problem with AIC drivers has disappeared. An Intel appeared not and, L440GX AIC again works on one processor.

Once you wrote about "I/O-APIC not enabled in 2.4.19-pre8 on UP machines":

Quoted 29 lines

It looks like I/O-APIC setup was accidentally disabled in 2.4.19-pre7 for UP machines.

Here is a patch to fix it:

arch/i386/kernel/io_apic.c renamed from arch/i386/kernel/io_apic.c.orig +1 -5
@@ -191,11 +191,7 @@
 #define MAX_PIRQS 8
 int pirq_entries [MAX_PIRQS];
 int pirqs_enabled;
-#ifdef CONFIG_X86_UP_APIC
-int skip_ioapic_setup=1;
-#else
-int skip_ioapic_setup=0;
-#endif
+int skip_ioapic_setup;
 
 static int __init noioapic_setup(char *str)
 {
Signature · 8 lines
-- 
Peter Osterlund - [email protected]
http://w1.894.telia.com/~u89404340
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Signature · 2 lines
bye.
Andrey Nekrasov, SpyLOG.
#2 lore raw
In reply to Peter Osterlund

Its already applied in my tree.

Thanks

Quoted 20 lines · Peter Osterlund

It looks like I/O-APIC setup was accidentally disabled in 2.4.19-pre7 for UP machines.

Here is a patch to fix it:

arch/i386/kernel/io_apic.c renamed from arch/i386/kernel/io_apic.c.orig +1 -5
@@ -191,11 +191,7 @@
 #define MAX_PIRQS 8
 int pirq_entries [MAX_PIRQS];
 int pirqs_enabled;
-#ifdef CONFIG_X86_UP_APIC
-int skip_ioapic_setup=1;
-#else
-int skip_ioapic_setup=0;
-#endif
+int skip_ioapic_setup;
 
 static int __init noioapic_setup(char *str)
 {