public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Keith Owens <kaos@sgi.com>
To: linux-ia64@vger.kernel.org
Subject: [patch] 2.6.3-rc2 Correct ifdef for srat_num_cpus
Date: Fri, 13 Feb 2004 06:45:53 +0000	[thread overview]
Message-ID: <6343.1076654753@kao2.melbourne.sgi.com> (raw)

The definition of srat_num_cpus is wrapped in #ifdef CONFIG_ACPI_NUMA,
make its usage match.

Index: 3-rc2.4/arch/ia64/kernel/acpi.c
--- 3-rc2.4/arch/ia64/kernel/acpi.c Tue, 10 Feb 2004 15:29:40 +1100 kaos (linux-2.6/Z/c/40_acpi.c 1.1.1.1.1.3 644)
+++ 3-rc2.4(w)/arch/ia64/kernel/acpi.c Fri, 13 Feb 2004 17:42:42 +1100 kaos (linux-2.6/Z/c/40_acpi.c 1.1.1.1.1.3 644)
@@ -589,7 +589,7 @@ acpi_boot_init (void)
 	smp_boot_data.cpu_count = available_cpus;
 
 	smp_build_cpu_map();
-# ifdef CONFIG_NUMA
+# ifdef CONFIG_ACPI_NUMA
 	if (srat_num_cpus = 0) {
 		int cpu, i = 1;
 		for (cpu = 0; cpu < smp_boot_data.cpu_count; cpu++)


                 reply	other threads:[~2004-02-13  6:45 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=6343.1076654753@kao2.melbourne.sgi.com \
    --to=kaos@sgi.com \
    --cc=linux-ia64@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