x86/smpboot: Move apic init code to apic.c
authorThomas Gleixner <tglx@linutronix.de>
Thu, 15 Jan 2015 21:22:40 +0000 (21:22 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 22 Jan 2015 14:10:56 +0000 (15:10 +0100)
commit05f7e46d2aac359b6bcfc06b302bdd03ca0bcada
tree5cceda7511f92c08fbef5a9d2a0f8dd6f9642ae5
parent30b8b0066cafef274fc92462578ee346211ce7cb
x86/smpboot: Move apic init code to apic.c

We better provide proper functions which implement the required code
flow in the apic code rather than letting the smpboot code open code
it. That allows to make more functions static and confines the APIC
functionality to apic.c where it belongs.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Borislav Petkov <bp@alien8.de>
Cc: Jiang Liu <jiang.liu@linux.intel.com>
Cc: Joerg Roedel <joro@8bytes.org>
Cc: Tony Luck <tony.luck@intel.com>
Link: http://lkml.kernel.org/r/20150115211703.907616730@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/include/asm/apic.h
arch/x86/kernel/apic/apic.c
arch/x86/kernel/smpboot.c