mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Rusty Russell <rusty@rustcorp.com.au>
To: Andrew Morton <akpm@osdl.org>
Cc: Nathan Poznick <kraken@drunkmonkey.org>
Cc: linux-kernel@vger.kernel.org, rth@twiddle.net
Subject: Re: Fw: 2.6.1-rc1-mm[1|2] on Alpha build failure
Date: Wed, 07 Jan 2004 12:16:48 +1100	[thread overview]
Message-ID: <20040107012149.0C83D2C097@lists.samba.org> (raw)
In-Reply-To: Your message of "Tue, 06 Jan 2004 16:44:38 -0800." <20040106164438.6f5756ff.akpm@osdl.org>

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.

           reply	other threads:[~2004-01-07  1:21 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20040106164438.6f5756ff.akpm@osdl.org>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040107012149.0C83D2C097@lists.samba.org \
    --to=rusty@rustcorp.com.au \
    --cc=akpm@osdl.org \
    --cc=kraken@drunkmonkey.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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