Skip to contentSkip to conversation

NUMA-Q breakage 1/7 MAX_IO_APICS too small

PATCH William Lee Irwin III 1 participant 1 message Jul 12, 2002

lore
Share & tools
lore
#0 lore raw

MAX_IO_APICS is not large enough for NUMA-Q systems. This panics before console_init().

Fix below.

Cheers,
Bill

===== include/asm-i386/apicdef.h 1.3 vs edited =====

include/asm-i386/apicdef.h +4 -0
@@ -108,7 +108,11 @@
 
 #define APIC_BASE (fix_to_virt(FIX_APIC_BASE))
 
+#ifndef CONFIG_MULTIQUAD
 #define MAX_IO_APICS 8
+#else
+#define MAX_IO_APICS 1024
+#endif /* CONFIG_MULTIQUAD */
 
 /*
  * the local APIC register structure, memory mapped. Not terribly well