From: Andrew Morton <akpm@osdl.org>
To: colpatch@us.ibm.com
Cc: anton@samba.org, linux-kernel@vger.kernel.org,
lse-tech@lists.sourceforge.net
Subject: Re: [PATCH] Create cpu_sibling_map for PPC64
Date: Sat, 31 Jul 2004 21:45:12 -0700 [thread overview]
Message-ID: <20040731214512.36123c10.akpm@osdl.org> (raw)
In-Reply-To: <1091049554.19459.33.camel@arrakis>
Matthew Dobson <colpatch@us.ibm.com> wrote:
>
> In light of some proposed changes in the sched_domains code, I coded up
> this little ditty that simply creates and populates a cpu_sibling_map
> for PPC64 machines.
err, did you compile it?
--- 25-power4/arch/ppc64/kernel/smp.c~create-cpu_sibling_map-for-ppc64-fix 2004-07-31 21:43:18.620845384 -0700
+++ 25-power4-akpm/arch/ppc64/kernel/smp.c 2004-07-31 21:43:21.258444408 -0700
@@ -64,7 +64,7 @@ cpumask_t cpu_possible_map = CPU_MASK_NO
cpumask_t cpu_online_map = CPU_MASK_NONE;
cpumask_t cpu_available_map = CPU_MASK_NONE;
cpumask_t cpu_present_at_boot = CPU_MASK_NONE;
-cpumask_t cpu_sibling_map[NR_CPUS] = { [0 .. NR_CPUS-1] = CPU_MASK_NONE };
+cpumask_t cpu_sibling_map[NR_CPUS] = { [0 ... NR_CPUS-1] = CPU_MASK_NONE };
EXPORT_SYMBOL(cpu_online_map);
EXPORT_SYMBOL(cpu_possible_map);
_
next prev parent reply other threads:[~2004-08-01 4:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-28 21:19 Matthew Dobson
2004-08-01 4:45 ` Andrew Morton [this message]
2004-08-02 21:16 ` Matthew Dobson
2004-08-02 21:45 ` Matthew Dobson
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=20040731214512.36123c10.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=anton@samba.org \
--cc=colpatch@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lse-tech@lists.sourceforge.net \
/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
all inboxes | Powered by JetHome®