Skip to contentSkip to conversation

voyager: add cpu_present_map

PATCH New James Bottomley 1 participant 1 message Jun 27, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 voyager: add cpu_present_map

Voyager stopped booting some time in the 2.6.16-2.6.17 timeframe; the reason was that it doesn't have a cpu_present_map, so add one.

---

I'm not sure how it didn't notice the omission before, but it certainly notices now.

James

arch/i386/mach-voyager/voyager_smp.c +2 -0
index 8165626..3c368fe 100644
@@ -661,6 +661,7 @@ #endif
 		print_cpu_info(&cpu_data[cpu]);
 		wmb();
 		cpu_set(cpu, cpu_callout_map);
+		cpu_set(cpu, cpu_present_map);
 	}
 	else {
 		printk("CPU%d FAILED TO BOOT: ", cpu);
@@ -1912,6 +1913,7 @@ void __devinit smp_prepare_boot_cpu(void
 	cpu_set(smp_processor_id(), cpu_online_map);
 	cpu_set(smp_processor_id(), cpu_callout_map);
 	cpu_set(smp_processor_id(), cpu_possible_map);
+	cpu_set(smp_processor_id(), cpu_present_map);
 }
 
 int __devinit