Messages in this thread Patch in this message | | | Date | Sun, 29 Aug 2004 10:40:39 -0700 | From | William Lee Irwin III <> | Subject | Re: SMP Panic caused by [PATCH] sched: consolidate sched domains |
| |
On Sun, Aug 29, 2004 at 10:29:23AM -0700, William Lee Irwin III wrote: > Okay, how about:
Okay, if you prefer the #ifdef:
Index: wait-2.6.9-rc1-mm1/kernel/sched.c =================================================================== --- wait-2.6.9-rc1-mm1.orig/kernel/sched.c 2004-08-28 11:41:47.000000000 -0700 +++ wait-2.6.9-rc1-mm1/kernel/sched.c 2004-08-29 10:37:04.210521352 -0700 @@ -4262,6 +4262,7 @@ &cpu_to_isolated_group); } +#ifdef CONFIG_NUMA /* Set up physical groups */ for (i = 0; i < MAX_NUMNODES; i++) { cpumask_t nodemask = node_to_cpumask(i); @@ -4273,6 +4274,10 @@ init_sched_build_groups(sched_group_phys, nodemask, &cpu_to_phys_group); } +#else + init_sched_build_groups(sched_group_phys, cpu_possible_map, + &cpu_to_phys_group); +#endif #ifdef CONFIG_NUMA /* Set up node groups */ - 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/
| |