Skip to contentSkip to conversation

2.6.1-rc1-mm[1|2] on Alpha build failure

DISCUSSION Rusty Russell 1 participant 1 message Jan 7, 2004 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

In message <[email protected]> you write:

Quoted 4 lines

A change to include/asm-alpha/smp.h went in during 2.6.1-rc1-mm1 which appears to have broken compilation on Alpha. Specifically, the addition of:
#define cpu_possible_map cpu_present_map

Arg, it's "cpu_present_mask" not "cpu_present_map" on Alpha.

My bad, but fix is trivial:

include/asm-alpha/smp.h +1 -1
diff -urpN --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal linux-2.6.1-rc1-mm2/include/asm-alpha/smp.h working-2.6.1-rc1-mm2-fix-alpha/include/asm-alpha/smp.h
@@ -48,7 +48,7 @@ extern struct cpuinfo_alpha cpu_data[NR_
 extern cpumask_t cpu_present_mask;
 extern cpumask_t cpu_online_map;
 extern int smp_num_cpus;
-#define cpu_possible_map	cpu_present_map
+#define cpu_possible_map	cpu_present_mask
 
 #define cpu_online(cpu)		cpu_isset(cpu, cpu_online_map)
 

--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.