public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Adrian Bunk <bunk@fs.tum.de>
Cc: piggin@cyberone.com.au, linux-kernel@vger.kernel.org
Subject: Re: 2.6.7-mm2: compile error SCHED_SMT + NUMA + gcc 2.95
Date: Thu, 24 Jun 2004 14:24:03 -0700	[thread overview]
Message-ID: <20040624142403.378df57d.akpm@osdl.org> (raw)
In-Reply-To: <20040624205922.GC26669@fs.tum.de>

Adrian Bunk <bunk@fs.tum.de> wrote:
>
>  CC      arch/i386/kernel/smpboot.o
> arch/i386/kernel/smpboot.c: In function `arch_init_sched_domains':
> arch/i386/kernel/smpboot.c:1195: invalid lvalue in unary `&'
> arch/i386/kernel/smpboot.c:1231: invalid lvalue in unary `&'

--- 25/arch/i386/kernel/smpboot.c~smpboot-build-fix	Thu Jun 24 14:22:55 2004
+++ 25-akpm/arch/i386/kernel/smpboot.c	Thu Jun 24 14:22:55 2004
@@ -1192,7 +1192,9 @@ __init void arch_init_sched_domains(void
 		int j;
 		cpumask_t nodemask;
 		struct sched_group *node = &sched_group_nodes[i];
-		cpus_and(nodemask, node_to_cpumask(i), cpu_possible_map);
+		cpumask_t node_cpumask = node_to_cpumask(i);
+
+		cpus_and(nodemask, node_cpumask, cpu_possible_map);
 
 		if (cpus_empty(nodemask))
 			continue;
@@ -1228,7 +1230,9 @@ __init void arch_init_sched_domains(void
 	for (i = 0; i < MAX_NUMNODES; i++) {
 		struct sched_group *cpu = &sched_group_nodes[i];
 		cpumask_t nodemask;
-		cpus_and(nodemask, node_to_cpumask(i), cpu_possible_map);
+		cpumask_t node_cpumask = node_to_cpumask(i);
+
+		cpus_and(nodemask, node_cpumask, cpu_possible_map);
 
 		if (cpus_empty(nodemask))
 			continue;
_


  reply	other threads:[~2004-06-24 21:21 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-24  8:46 2.6.7-mm2 Andrew Morton
2004-06-24  9:39 ` 2.6.7-mm2 Russell King
2004-06-24 13:28   ` 2.6.7-mm2 Felipe Alfaro Solana
2004-06-24 10:33 ` 2.6.7-mm2 Andrew Morton
2004-06-24 11:43   ` 2.6.7-mm2 Angelo Dell'Aera
2004-06-24 17:28   ` 2.6.7-mm2 Norberto Bensa
2004-06-24 13:20 ` 2.6.7-mm2 Jari Ruusu
2004-06-24 15:04   ` 2.6.7-mm2 Roman Zippel
2004-06-24 18:00     ` 2.6.7-mm2 Valdis.Kletnieks
2004-06-24 14:25 ` 2.6.7-mm2 Coywolf Qi Hunt
2004-06-25  5:51   ` [PATCH] (2.6.7-mm2) kbuild distclean srctree fix ii Coywolf Qi Hunt
2004-06-24 17:46 ` 2.6.7-mm2 (compile stats) John Cherry
2004-06-24 19:16 ` [patch] 2.6.7-mm2: fdomain_cs needs unknown symbols Adrian Bunk
2004-06-24 20:57 ` 2.6.7-mm2 R. J. Wysocki
2004-06-24 21:38   ` 2.6.7-mm2 R. J. Wysocki
2004-06-24 21:50   ` 2.6.7-mm2 R. J. Wysocki
2004-06-25  5:21   ` 2.6.7-mm2 Andrew Morton
2004-06-25 10:48     ` 2.6.7-mm2 R. J. Wysocki
2004-06-24 20:59 ` 2.6.7-mm2: compile error SCHED_SMT + NUMA + gcc 2.95 Adrian Bunk
2004-06-24 21:24   ` Andrew Morton [this message]
2004-06-29  5:59 ` 2.6.7-mm2: random problems with mmap Peter Lundkvist
2004-06-29  6:50   ` Andrew Morton
2004-06-29 10:29     ` Jesper Juhl

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=20040624142403.378df57d.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=bunk@fs.tum.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=piggin@cyberone.com.au \
    /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