[PATCH 05/15] x86: Call smp_register_lapic_address for contruct_default mptable path
From: Yinghai Lu
Date: Sat Oct 23 2010 - 21:07:19 EST
It already finds smp config, make it like other find_smp_config path
Signed-off-by: Yinghai Lu <yinghai@xxxxxxxxxx>
---
arch/x86/kernel/mpparse.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kernel/mpparse.c b/arch/x86/kernel/mpparse.c
index a550315..7b72904 100644
--- a/arch/x86/kernel/mpparse.c
+++ b/arch/x86/kernel/mpparse.c
@@ -481,7 +481,7 @@ static inline void __init construct_default_ISA_mptable(int mpc_default_type)
/*
* local APIC has default address
*/
- mp_lapic_addr = APIC_DEFAULT_PHYS_BASE;
+ smp_register_lapic_address(APIC_DEFAULT_PHYS_BASE);
/*
* 2 CPUs, numbered 0 & 1.
@@ -617,7 +617,7 @@ void __init default_get_smp_config(unsigned int early)
/*
* local APIC has default address
*/
- mp_lapic_addr = APIC_DEFAULT_PHYS_BASE;
+ smp_register_lapic_address(APIC_DEFAULT_PHYS_BASE);
return;
}
--
1.7.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/