mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: Fw: 2.6.1-rc1-mm[1|2] on Alpha build failure
       [not found] <20040106164438.6f5756ff.akpm@osdl.org>
@ 2004-01-07  1:16 ` Rusty Russell
  0 siblings, 0 replies; only message in thread
From: Rusty Russell @ 2004-01-07  1:16 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Nathan Poznick, linux-kernel, rth

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-01-07  1:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20040106164438.6f5756ff.akpm@osdl.org>
2004-01-07  1:16 ` Fw: 2.6.1-rc1-mm[1|2] on Alpha build failure Rusty Russell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome