Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[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>

authored by

Brian Magnuson and committed by
Linus Torvalds
d5176123 fc5870f6

+1 -1
+1 -1
arch/x86_64/kernel/setup.c
··· 424 424 elfcorehdr_addr = memparse(from+11, &from); 425 425 #endif 426 426 427 - #ifdef CONFIG_SMP 427 + #ifdef CONFIG_HOTPLUG_CPU 428 428 else if (!memcmp(from, "additional_cpus=", 16)) 429 429 setup_additional_cpus(from+16); 430 430 #endif