From: Thomas Gleixner Date: Thu, 15 Jan 2015 21:22:42 +0000 (+0000) Subject: x86/smpboot: Sanitize uniprocessor init X-Git-Tag: fixes-v4.0-rc1~177^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=613c25efbdc763ee8b9d732368106d2456279356;p=pandora-kernel.git 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 Acked-by: Borislav Petkov Cc: Jiang Liu Cc: Joerg Roedel Cc: Tony Luck Link: http://lkml.kernel.org/r/20150115211703.987833932@linutronix.de Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed