diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-06-01 16:17:38 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-06-03 07:26:27 -0400 |
commit | 2944e16b25e7fb8b5ee0dd9dc7197a0f9e523cfd (patch) | |
tree | 0114128fdb9d2f54188a1684758e0217eadae1e5 /include/asm-x86/mpspec.h | |
parent | e8c27ac9191ab9e6506ae5cbe70d87ac50f8e960 (diff) |
x86: update mptable
make mptable to be consistent with acpi routing, so we could:
1. kexec kernel with acpi=off
2. work around BIOSes where acpi routing is working, but mptable is
not right, so can use kernel/kexec to start other OSes that don't have
good acpi support.
command line: update_mptable
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 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-x86/mpspec.h b/include/asm-x86/mpspec.h index b785ddd8d761..6a34d6dfd042 100644 --- a/include/asm-x86/mpspec.h +++ b/include/asm-x86/mpspec.h | |||
@@ -39,6 +39,7 @@ extern unsigned long mp_lapic_addr; | |||
39 | 39 | ||
40 | extern void find_smp_config(void); | 40 | extern void find_smp_config(void); |
41 | extern void get_smp_config(void); | 41 | extern void get_smp_config(void); |
42 | extern void early_reserve_e820_mpc_new(void); | ||
42 | 43 | ||
43 | void __cpuinit generic_processor_info(int apicid, int version); | 44 | void __cpuinit generic_processor_info(int apicid, int version); |
44 | #ifdef CONFIG_ACPI | 45 | #ifdef CONFIG_ACPI |
@@ -47,6 +48,9 @@ extern void mp_override_legacy_irq(u8 bus_irq, u8 polarity, u8 trigger, | |||
47 | u32 gsi); | 48 | u32 gsi); |
48 | extern void mp_config_acpi_legacy_irqs(void); | 49 | extern void mp_config_acpi_legacy_irqs(void); |
49 | extern int mp_register_gsi(u32 gsi, int edge_level, int active_high_low); | 50 | extern int mp_register_gsi(u32 gsi, int edge_level, int active_high_low); |
51 | extern void MP_intsrc_info(struct mpc_config_intsrc *m); | ||
52 | extern int mp_config_acpi_gsi(unsigned char number, unsigned int devfn, u8 pin, | ||
53 | u32 gsi, int triggering, int polarity); | ||
50 | #endif /* CONFIG_ACPI */ | 54 | #endif /* CONFIG_ACPI */ |
51 | 55 | ||
52 | #define PHYSID_ARRAY_SIZE BITS_TO_LONGS(MAX_APICS) | 56 | #define PHYSID_ARRAY_SIZE BITS_TO_LONGS(MAX_APICS) |