Revert "x86/apic: Remove init_bsp_APIC()"
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 28 Nov 2017 14:53:50 +0000 (16:53 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 14 Jan 2018 11:14:51 +0000 (12:14 +0100)
commitfc90ccfd286eabb05ec54521367df8663cf0bbbf
tree0300985a44c469db156e4f4fb2fd4b05a11a0f57
parentbeacd6f7ed5e2915959442245b3b2480c2e37490
Revert "x86/apic: Remove init_bsp_APIC()"

This reverts commit b371ae0d4a194b178817b0edfb6a7395c7aec37a. It causes
boot hangs on old P3/P4 systems when the local APIC is enforced in UP mode.

Reported-by: Meelis Roos <mroos@linux.ee>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Dou Liyang <douly.fnst@cn.fujitsu.com>
Cc: yinghai@kernel.org
Cc: bhe@redhat.com
Link: https://lkml.kernel.org/r/20171128145350.21560-1-ville.syrjala@linux.intel.com
arch/x86/include/asm/apic.h
arch/x86/kernel/apic/apic.c
arch/x86/kernel/irqinit.c