[patch] 2.6.3-rc2 Correct ifdef for srat_num_cpus

From: Keith Owens <kaos_at_sgi.com>
Date: 2004-02-13 17:45:53
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++)

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Fri Feb 13 01:47:01 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:22 EST