From e2126711af40ae669610d3500fe23c81b7ad6307 Mon Sep 17 00:00:00 2001 From: Bin Meng Date: Sun, 22 May 2016 01:45:33 -0700 Subject: x86: Call lapic_setup() in interrupt_init() Let's configure LAPIC in a common place - interrupt_init(). Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- arch/x86/cpu/mp_init.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'arch/x86/cpu/mp_init.c') diff --git a/arch/x86/cpu/mp_init.c b/arch/x86/cpu/mp_init.c index 8207274879c..2b6b3bd04e6 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) { -- cgit v1.2.3