Skip to contentSkip to conversation

mpspec.h (x86_64)

PATCH New achew 1 participant 1 message Aug 24, 2004

lore
Share & tools
lore

achew

author
#0 lore raw

PATCH 1/1 mpspec.h (x86_64)

MAX_MP_BUSSES needs to be increased to support some MP systems.

This patch increases it to the maximum addressable range, given the 8-bit bus ID field of MP table bus entries. Derived from mpspec.h from the 2.4-series kernel.

include/asm-x86_64/mpspec.h +2 -2
@@ -156,8 +156,8 @@
 *	7	2 CPU MCA+PCI
 */
 
-#define MAX_IRQ_SOURCES 256
-#define MAX_MP_BUSSES 32
+#define MAX_MP_BUSSES 257
+#define MAX_IRQ_SOURCES (MAX_MP_BUSSES*4)
enum mp_bustype {
	MP_BUS_ISA = 1,
	MP_BUS_EISA,