x86: Clean up lapic codes
authorBin Meng <bmeng.cn@gmail.com>
Wed, 17 Jun 2015 03:15:38 +0000 (11:15 +0800)
committerSimon Glass <sjg@chromium.org>
Wed, 15 Jul 2015 00:03:16 +0000 (18:03 -0600)
commit63d54a67051e3e03b8a46b5442b65323d18ddb98
tree46688389cc50038051fac7c7de45bda290fc530f
parent61788e468ebe4a7b8c852ab4e761e084a7975a93
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]