Message ID | 1455483869147137@kroah.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
--- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -6678,7 +6678,7 @@ static void sched_init_numa(void) sched_domains_numa_masks[i][j] = mask; - for (k = 0; k < nr_node_ids; k++) { + for_each_node(k) { if (node_distance(j, k) > sched_domains_numa_distance[i]) continue;