]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
x86: Clean up lapic codes
authorBin Meng <bmeng.cn@gmail.com>
Wed, 17 Jun 2015 03:15:38 +0000 (11:15 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:29:23 +0000 (13:29 +0200)
commita5d697e95780ab4d9e1120d2470bb08bbe3e5609
tree90e5838f2d8f85b534b563d1bf2c78a59fa8cb40
parentc3ed5332e320f3262d7e802c27fe772a0b0e3e02
x86: Clean up lapic codes

This commit cleans up the lapic codes:
- Delete arch/x86/include/asm/lapic_def.h, and move register and bit
  defines into arch/x86/include/asm/lapic.h
- Use MSR defines from msr-index.h in enable_lapic() and disable_lapic()
- Remove unnecessary stuff like NEED_LAPIC, X86_GOOD_APIC and
  CONFIG_AP_IN_SIPI_WAIT
- Move struct x86_cpu_priv defines to asm/arch-ivybridge/bd82x6x.h, as
  it is not apic related and only used by ivybridge
- Fix coding convention issues

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/ivybridge/model_206ax.c
arch/x86/cpu/lapic.c
arch/x86/include/asm/arch-ivybridge/bd82x6x.h
arch/x86/include/asm/lapic.h
arch/x86/include/asm/lapic_def.h [deleted file]