diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-05-25 21:16:06 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-06-10 11:35:12 +0200 |
commit | af1cf204ba2fd8135933a2e4df523fb1112dc0e2 (patch) | |
tree | 6c5aaebf5e299e5f6c2fbc38bc0f2c9635f27042 | |
parent | 6780711e9817585f89b02b0556aac3564cbe1f45 (diff) | |
download | linux-3.10-af1cf204ba2fd8135933a2e4df523fb1112dc0e2.tar.gz linux-3.10-af1cf204ba2fd8135933a2e4df523fb1112dc0e2.tar.bz2 linux-3.10-af1cf204ba2fd8135933a2e4df523fb1112dc0e2.zip |
x86, mpparse: build fix
fix:
LD .tmp_vmlinux1
arch/x86/kernel/built-in.o: In function `setup_arch':
: undefined reference to `early_reserve_e820_mpc_new'
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-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 6e9c9588b1f..b8ba37496e2 100644 --- a/include/asm-x86/mpspec.h +++ b/include/asm-x86/mpspec.h @@ -46,7 +46,11 @@ extern unsigned long mp_lapic_addr; extern void find_smp_config(void); extern void get_smp_config(void); +#ifdef CONFIG_X86_MPPARSE extern void early_reserve_e820_mpc_new(void); +#else +static inline void early_reserve_e820_mpc_new(void) { } +#endif void __cpuinit generic_processor_info(int apicid, int version); #ifdef CONFIG_ACPI |