OSDN Git Service

x86/apic: Reuse apic_bsp_setup() for UP APIC setup
authorThomas Gleixner <tglx@linutronix.de>
Thu, 15 Jan 2015 21:22:44 +0000 (21:22 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 22 Jan 2015 14:10:56 +0000 (15:10 +0100)
commit374aab339f10f0510cec0e79d752d31d84b08aa2
treefffeaf1be404f54562d07e7ecaaf215ce431c435
parent613c25efbdc763ee8b9d732368106d2456279356
x86/apic: Reuse apic_bsp_setup() for UP APIC setup

Extend apic_bsp_setup() so the same code flow can be used for
APIC_init_uniprocessor().

Folded Jiangs fix to provide proper ordering of the UP setup.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Jiang Liu <jiang.liu@linux.intel.com>
Cc: Joerg Roedel <joro@8bytes.org>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Borislav Petkov <bp@alien8.de>
Link: http://lkml.kernel.org/r/20150115211704.084765674@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