]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
x86: Move lapic_setup() call into init_bsp()
authorBin Meng <bmeng.cn@gmail.com>
Wed, 17 Jun 2015 03:15:37 +0000 (11:15 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:29:22 +0000 (13:29 +0200)
commitc3ed5332e320f3262d7e802c27fe772a0b0e3e02
treefc2ba9bd7cf6c7522165d9bc804a69ad322d663d
parentc15981cf5a22776f59b7da48589347d42bf1e0f7
x86: Move lapic_setup() call into init_bsp()

Currently lapic_setup() is called before calling mp_init(), which
then calls init_bsp() where it calls enable_lapic(), which was
already enabled in lapic_setup(). Hence move lapic_setup() call
into init_bsp() to avoid the duplication.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/cpu.c
arch/x86/cpu/mp_init.c