]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[PATCH] fix build on x86_64 with !CONFIG_HOTPLUG_CPU
authorBrian Magnuson <magnuson@rcn.com>
Mon, 27 Feb 2006 03:02:04 +0000 (04:02 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 27 Feb 2006 03:07:42 +0000 (19:07 -0800)
The commit e2c0388866dc12bef56b178b958f9b778fe6c687 added
setup_additional_cpus to setup.c but this is only defined if
CONFIG_HOTPLUG_CPU is set.  This patch changes the #ifdef to reflect that.

Signed-off-by: Brian Magnuson <magnuson@rcn.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/setup.c

index 5de7eaf5d97cd678025e520cb5d5b2a3041508b5..aa55e3cec665a736a5fba5fff57309712703d02a 100644 (file)
@@ -424,7 +424,7 @@ static __init void parse_cmdline_early (char ** cmdline_p)
                        elfcorehdr_addr = memparse(from+11, &from);
 #endif
 
-#ifdef CONFIG_SMP
+#ifdef CONFIG_HOTPLUG_CPU
                else if (!memcmp(from, "additional_cpus=", 16))
                        setup_additional_cpus(from+16);
 #endif