Przeglądaj źródła

Merge branch 'sched/urgent' into sched/core

Merge reason: bring together all the pending scheduler bits,
              for the sched/numa changes.

Signed-off-by: Ingo Molnar <mingo@kernel.org>
Ingo Molnar 13 lat temu
rodzic
commit
fac536f7e4
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      kernel/sched/core.c

+ 2 - 0
kernel/sched/core.c

@@ -6489,6 +6489,8 @@ static int __sdt_alloc(const struct cpumask *cpu_map)
 			if (!sg)
 			if (!sg)
 				return -ENOMEM;
 				return -ENOMEM;
 
 
+			sg->next = sg;
+
 			*per_cpu_ptr(sdd->sg, j) = sg;
 			*per_cpu_ptr(sdd->sg, j) = sg;
 
 
 			sgp = kzalloc_node(sizeof(struct sched_group_power),
 			sgp = kzalloc_node(sizeof(struct sched_group_power),