mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] fix build for x86_64 for !CONFIG_HOTPLUG_CPU
@ 2006-02-26 22:44 Brian Magnuson
  0 siblings, 0 replies; only message in thread
From: Brian Magnuson @ 2006-02-26 22:44 UTC (permalink / raw)
  To: LKML

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>

--- linux-2.6.orig/arch/x86_64/kernel/setup.c   2006-02-26 17:03:26.000000000 -0500
+++ linux-2.6/arch/x86_64/kernel/setup.c        2006-02-26 17:33:05.000000000 -0500
@@ -424,7 +424,7 @@ static __init void parse_cmdline_early (
                        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


.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-02-26 22:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-26 22:44 [PATCH] fix build for x86_64 for !CONFIG_HOTPLUG_CPU Brian Magnuson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®