diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-06-08 21:29:22 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-06-10 05:32:09 -0400 |
commit | e0da33646826b66ef933d47ea2fb7a693fd849bf (patch) | |
tree | 398d86b96531e574c4710ea1538806b7e0ae0fef /include/asm-x86/mpspec.h | |
parent | c3ff01672a23fabb40d4b80ff25a845582fd07c2 (diff) |
x86: introduce max_physical_apicid for bigsmp switching
a multi-socket test-system with 3 or 4 ioapics, when 4 dualcore cpus or
2 quadcore cpus installed, needs to switch to bigsmp or physflat.
CPU apic id is [4,11] instead of [0,7], and we need to check max apic
id instead of cpu numbers.
also add check for 32 bit when acpi is not compiled in or acpi=off.
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/mpspec.h')
-rw-r--r-- | include/asm-x86/mpspec.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-x86/mpspec.h b/include/asm-x86/mpspec.h index f38b68e8de5a..4451d720ee07 100644 --- a/include/asm-x86/mpspec.h +++ b/include/asm-x86/mpspec.h | |||
@@ -33,6 +33,7 @@ extern int mp_bus_id_to_type[MAX_MP_BUSSES]; | |||
33 | extern DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES); | 33 | extern DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES); |
34 | 34 | ||
35 | extern unsigned int boot_cpu_physical_apicid; | 35 | extern unsigned int boot_cpu_physical_apicid; |
36 | extern unsigned int max_physical_apicid; | ||
36 | extern int smp_found_config; | 37 | extern int smp_found_config; |
37 | extern int mpc_default_type; | 38 | extern int mpc_default_type; |
38 | extern unsigned long mp_lapic_addr; | 39 | extern unsigned long mp_lapic_addr; |