Messages in this thread Patch in this message | | | From | Rusty Russell <> | Subject | Re: Fw: 2.6.1-rc1-mm[1|2] on Alpha build failure | Date | Wed, 07 Jan 2004 12:16:48 +1100 |
| |
In message <20040106164438.6f5756ff.akpm@osdl.org> you write: > 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:
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 --- linux-2.6.1-rc1-mm2/include/asm-alpha/smp.h 2004-01-06 16:30:42.000000000 +1100 +++ working-2.6.1-rc1-mm2-fix-alpha/include/asm-alpha/smp.h 2004-01-07 12:16:13.000000000 +1100 @@ -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. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |