summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/mp_init.c
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2016-05-22 01:45:33 -0700
committerBin Meng <bmeng.cn@gmail.com>2016-05-23 15:27:41 +0800
commite2126711af40ae669610d3500fe23c81b7ad6307 (patch)
treec3ce06397c65d34b261e2dba02b020a66b5b2090 /arch/x86/cpu/mp_init.c
parentaaaa55751ab1e5a5cfa0962d604593a7e6f33ff6 (diff)
x86: Call lapic_setup() in interrupt_init()
Let's configure LAPIC in a common place - interrupt_init(). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/cpu/mp_init.c')
-rw-r--r--arch/x86/cpu/mp_init.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/cpu/mp_init.c b/arch/x86/cpu/mp_init.c
index 8207274879..2b6b3bd04e 100644
--- a/arch/x86/cpu/mp_init.c
+++ b/arch/x86/cpu/mp_init.c
@@ -408,8 +408,6 @@ static int init_bsp(struct udevice **devp)
cpu_get_name(processor_name);
debug("CPU: %s\n", processor_name);
- lapic_setup();
-
apic_id = lapicid();
ret = find_cpu_by_apic_id(apic_id, devp);
if (ret) {