diff options
author | Andi Kleen <ak@suse.de> | 2005-11-05 11:25:54 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-14 22:55:17 -0500 |
commit | 8893166ff8694f36655009aa9bf8e7f2e1c9339f (patch) | |
tree | 89f030c84d807f58444667a401194cda06fcc1b0 /include/asm-x86_64 | |
parent | 9e43e1b7c7c9872da032442d8e4bb112a02d16f4 (diff) |
[PATCH] x86_64: Increase the maximum number of local APICs to the maximum
This is needed for large multinode IBM systems which have a sparse
APIC space in clustered mode, fully covering the available 8 bits.
The previous kernels would limit the local APIC number to 127,
which caused it to reject some of the CPUs at boot.
I increased the maximum and shrunk the apic_version array a bit
to make up for that (the version is only 8 bit, so don't need
an full int to store)
Cc: Chris McDermott <lcm@us.ibm.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-x86_64')
-rw-r--r-- | include/asm-x86_64/mpspec.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-x86_64/mpspec.h b/include/asm-x86_64/mpspec.h index 6b375384f5c2..6f8a17d105ab 100644 --- a/include/asm-x86_64/mpspec.h +++ b/include/asm-x86_64/mpspec.h | |||
@@ -16,7 +16,7 @@ | |||
16 | /* | 16 | /* |
17 | * A maximum of 255 APICs with the current APIC ID architecture. | 17 | * A maximum of 255 APICs with the current APIC ID architecture. |
18 | */ | 18 | */ |
19 | #define MAX_APICS 128 | 19 | #define MAX_APICS 255 |
20 | 20 | ||
21 | struct intel_mp_floating | 21 | struct intel_mp_floating |
22 | { | 22 | { |
@@ -173,7 +173,7 @@ extern int smp_found_config; | |||
173 | extern void find_smp_config (void); | 173 | extern void find_smp_config (void); |
174 | extern void get_smp_config (void); | 174 | extern void get_smp_config (void); |
175 | extern int nr_ioapics; | 175 | extern int nr_ioapics; |
176 | extern int apic_version [MAX_APICS]; | 176 | extern unsigned char apic_version [MAX_APICS]; |
177 | extern int mp_irq_entries; | 177 | extern int mp_irq_entries; |
178 | extern struct mpc_config_intsrc mp_irqs [MAX_IRQ_SOURCES]; | 178 | extern struct mpc_config_intsrc mp_irqs [MAX_IRQ_SOURCES]; |
179 | extern int mpc_default_type; | 179 | extern int mpc_default_type; |