Skip to contentSkip to conversation

2.6.3-rc2 Correct ifdef for srat_num_cpus

PATCH New Keith Owens 1 participant 1 message Feb 13, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 2.6.3-rc2 Correct ifdef for srat_num_cpus

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

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) renamed from 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) +1 -1
@@ -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++)