Messages in this thread Patch in this message |  | | Date | Sat, 31 Jul 2004 21:45:12 -0700 | | From | Andrew Morton <> | | Subject | Re: [PATCH] Create cpu_sibling_map for PPC64 |
| |
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); _ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |