1 Aug 2004 06:45
Re: [PATCH] Create cpu_sibling_map for PPC64
Andrew Morton <akpm <at> osdl.org>
2004-08-01 04:45:12 GMT
2004-08-01 04:45:12 GMT
Matthew Dobson <colpatch <at> 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
<at> <at> -64,7 +64,7 <at> <at> 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);
_
-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
RSS Feed