From: Shai Fultheim Date: Mon, 16 Apr 2012 07:39:35 +0000 (+0300) Subject: x86/vsmp: Fix number of CPUs when vsmp is disabled X-Git-Tag: v3.5-rc1~123^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ead91d4b8c3b1fb08a73aaa4a191230ecf717ee0;p=pandora-kernel.git x86/vsmp: Fix number of CPUs when vsmp is disabled In case CONFIG_X86_VSMP is not set, limit the number of CPUs to the number of CPUs of the first board. Also make CONFIG_X86_VSMP depend on CONFIG_SMP, as there's little point in having a vsmp machine with a single CPU. Signed-off-by: Shai Fultheim [ido@wizery.com: rebased, fixed minor coding-style issues] Signed-off-by: Ido Yariv Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed