Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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