Skip to content

Commit

Permalink
[PATCH] fix build on x86_64 with !CONFIG_HOTPLUG_CPU
Browse files Browse the repository at this point in the history
The commit e2c0388 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>
  • Loading branch information
Brian Magnuson authored and Linus Torvalds committed Feb 27, 2006
1 parent fc5870f commit d517612
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86_64/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d517612

Please sign in to comment.