I just bumped into the same error using 2.4.20-ac1 and came up with the
appended short term fix.
HTH,
Steffen.
diff -ur linux-2.4.20-ac1_orig/arch/i386/kernel/mpparse.c linux-2.4.20-ac1/arch/i386/kernel/mpparse.c
--- linux-2.4.20-ac1_orig/arch/i386/kernel/mpparse.c Fri Dec 13 16:24:47 2002
+++ linux-2.4.20-ac1/arch/i386/kernel/mpparse.c Fri Dec 13 16:22:01 2002
@@ -28,6 +28,7 @@
#include <asm/mpspec.h>
#include <asm/pgalloc.h>
#include <asm/smpboot.h>
+#include <asm/io_apic.h>
/* Have we found an MP table */
int smp_found_config;
diff -ur linux-2.4.20-ac1_orig/include/asm/io_apic.h linux-2.4.20-ac1/include/asm/io_apic.h
--- linux-2.4.20-ac1_orig/include/asm/io_apic.h Fri Dec 13 16:24:39 2002
+++ linux-2.4.20-ac1/include/asm/io_apic.h Fri Dec 13 16:27:35 2002
@@ -47,17 +47,6 @@
extern int nr_ioapics;
extern int nr_ioapic_registers[MAX_IO_APICS];
-enum ioapic_irq_destination_types {
- dest_Fixed = 0,
- dest_LowestPrio = 1,
- dest_SMI = 2,
- dest__reserved_1 = 3,
- dest_NMI = 4,
- dest_INIT = 5,
- dest__reserved_2 = 6,
- dest_ExtINT = 7
-};
-
struct IO_APIC_route_entry {
__u32 vector : 8,
delivery_mode : 3, /* 000: FIXED
@@ -147,4 +136,15 @@
#define io_apic_assign_pci_irqs 0
#endif
+enum ioapic_irq_destination_types {
+ dest_Fixed = 0,
+ dest_LowestPrio = 1,
+ dest_SMI = 2,
+ dest__reserved_1 = 3,
+ dest_NMI = 4,
+ dest_INIT = 5,
+ dest__reserved_2 = 6,
+ dest_ExtINT = 7
+};
+
#endif
-
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/