x86: Remove SMP limitation in lapic_setup()
authorBin Meng <bmeng.cn@gmail.com>
Sun, 22 May 2016 08:45:32 +0000 (01:45 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 23 May 2016 07:27:41 +0000 (15:27 +0800)
commitaaaa55751ab1e5a5cfa0962d604593a7e6f33ff6
tree4c0cb892dc125f6fad11267ce777c51556ff2653
parent3299be2479f9878dd3bb484f2b8f1ef7c0a20fb4
x86: Remove SMP limitation in lapic_setup()

At present LAPIC is enabled and configured as virtual wire mode
in lapic_setup() only when CONFIG_SMP is on. This limitation is
however not necessary as for uniprocessor this is still needed.

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