[PATCH] 2.6.0-test4 Fix mpparse properly

Andrew de Quincey
2003-09-07T20:30:40Z

According to Alan Cox, the so-called erroneous code in mpparse.c should be there, but only for
ES7000 platforms.

--- linux-2.6.0-test4.null_crs/arch/i386/kernel/mpparse.c 2003-09-06 00:23:10.000000000 +0100
+++ linux-2.6.0-test4.es7000fix/arch/i386/kernel/mpparse.c 2003-09-07 15:53:41.369717552 +0100
@@ -1129,8 +1129,10 @@
continue;
ioapic_pin = irq - mp_ioapic_routing[ioapic].irq_start;

+#ifdef CONFIG_X86_ES7000
if (!ioapic && (irq < 16))
irq += 16;
+#endif

/*
* Avoid pin reprogramming. PRTs typically include entries