Commit 3f9b988c authored by Andi Kleen's avatar Andi Kleen Committed by Linus Torvalds

[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: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 613b3150
...@@ -108,7 +108,7 @@ ...@@ -108,7 +108,7 @@
#define APIC_BASE (fix_to_virt(FIX_APIC_BASE)) #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 * the local APIC register structure, memory mapped. Not terribly well
......
...@@ -156,8 +156,8 @@ struct mpc_config_lintsrc ...@@ -156,8 +156,8 @@ struct mpc_config_lintsrc
* 7 2 CPU MCA+PCI * 7 2 CPU MCA+PCI
*/ */
#define MAX_MP_BUSSES 270
#define MAX_IRQ_SOURCES 256 #define MAX_IRQ_SOURCES 256
#define MAX_MP_BUSSES 32
enum mp_bustype { enum mp_bustype {
MP_BUS_ISA = 1, MP_BUS_ISA = 1,
MP_BUS_EISA, MP_BUS_EISA,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment