Commit d5176123 authored by Brian Magnuson's avatar Brian Magnuson Committed by Linus Torvalds

[PATCH] fix build on x86_64 with !CONFIG_HOTPLUG_CPU

The commit e2c03888 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: default avatarBrian Magnuson <magnuson@rcn.com>
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent fc5870f6
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment