From: Andrew M. <ak...@os...> - 2004-08-01 04:47:09
|
Matthew Dobson <col...@us...> 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); _ |