summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndi Kleen <ak@muc.de>2004-09-02 20:25:41 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-09-02 20:25:41 -0700
commit3f9b988c4c06ba2c08a8dfc8efe87a805c11e9c2 (patch)
tree55cbd04bc550bac4da1b869e861ef0ecf1d0fb56
parent613b3150271de27952beeb303b04ac959838eaaf (diff)
[PATCH] Increase bus/apic limits on x86-64
This patch increases some hardcoded limits people have already run into or plan to go towards eventually. Increase max MP busses on x86-64. Needed for some machines. Suggested by Andrew Chen and James Cleverdon. MAX_IRQ_SOURCES kept at 256 for now, matching i386. Increase MAX_IO_APICS to 32 following i386. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--include/asm-x86_64/apicdef.h2
-rw-r--r--include/asm-x86_64/mpspec.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-x86_64/apicdef.h b/include/asm-x86_64/apicdef.h
index 8ba1d6ef13b2..4852d9a281af 100644
--- a/include/asm-x86_64/apicdef.h
+++ b/include/asm-x86_64/apicdef.h
@@ -108,7 +108,7 @@
#define APIC_BASE (fix_to_virt(FIX_APIC_BASE))
-#define MAX_IO_APICS 16
+#define MAX_IO_APICS 32
/*
* the local APIC register structure, memory mapped. Not terribly well
diff --git a/include/asm-x86_64/mpspec.h b/include/asm-x86_64/mpspec.h
index fb9e6abbd813..98aa63e6bab6 100644
--- a/include/asm-x86_64/mpspec.h
+++ b/include/asm-x86_64/mpspec.h
@@ -156,8 +156,8 @@ struct mpc_config_lintsrc
* 7 2 CPU MCA+PCI
*/
+#define MAX_MP_BUSSES 270
#define MAX_IRQ_SOURCES 256
-#define MAX_MP_BUSSES 32
enum mp_bustype {
MP_BUS_ISA = 1,
MP_BUS_EISA,