aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorBrian Magnuson <magnuson@rcn.com>2006-02-26 22:02:04 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-02-26 22:07:42 -0500
commitd51761233d9e3be4cdf10f7482a50463bbd78c78 (patch)
treeccf228672693b15eb602adf5068383e0222170c0 /arch
parentfc5870f66279fabedc9dbba7c28451bbb8f47778 (diff)
[PATCH] fix build on x86_64 with !CONFIG_HOTPLUG_CPU
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86_64/kernel/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/kernel/setup.c b/arch/x86_64/kernel/setup.c
index 5de7eaf5d97c..aa55e3cec665 100644
--- a/arch/x86_64/kernel/setup.c
+++ b/arch/x86_64/kernel/setup.c
@@ -424,7 +424,7 @@ static __init void parse_cmdline_early (char ** cmdline_p)
424 elfcorehdr_addr = memparse(from+11, &from); 424 elfcorehdr_addr = memparse(from+11, &from);
425#endif 425#endif
426 426
427#ifdef CONFIG_SMP 427#ifdef CONFIG_HOTPLUG_CPU
428 else if (!memcmp(from, "additional_cpus=", 16)) 428 else if (!memcmp(from, "additional_cpus=", 16))
429 setup_additional_cpus(from+16); 429 setup_additional_cpus(from+16);
430#endif 430#endif