diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2015-01-15 21:22:42 (GMT) |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-01-22 14:10:56 (GMT) |
commit | 613c25efbdc763ee8b9d732368106d2456279356 (patch) | |
tree | 27988534fee5f3180bfb0f5f312747a1cc098f2e /arch/x86/kernel/apic | |
parent | 05f7e46d2aac359b6bcfc06b302bdd03ca0bcada (diff) | |
download | linux-613c25efbdc763ee8b9d732368106d2456279356.tar.xz |
x86/smpboot: Sanitize uniprocessor init
The UP related setups for local apic are mangled into smp_sanity_check().
That results in duplicate calls to disable_smp() and makes the code
hard to follow. Let smp_sanity_check() return dedicated values for the
various exit reasons and handle them at the call site.
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.987833932@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/apic')
0 files changed, 0 insertions, 0 deletions