mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Brian Magnuson <magnuson@rcn.com>
To: LKML <linux-kernel@vger.kernel.org>
Subject: [PATCH] fix build for x86_64 for !CONFIG_HOTPLUG_CPU
Date: Sun, 26 Feb 2006 17:44:45 -0500	[thread overview]
Message-ID: <20060226224445.GA6425@tinygod.moriquendi.net> (raw)

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


.

                 reply	other threads:[~2006-02-26 22:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060226224445.GA6425@tinygod.moriquendi.net \
    --to=magnuson@rcn.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®