]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - kernel/sched_rt.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394...
[karo-tx-linux.git] / kernel / sched_rt.c
index 833b6d44483c57bb4473b9eddf448a2366302b6a..954e1a81b7967567b617b918b254deaa12a848a4 100644 (file)
@@ -1383,7 +1383,8 @@ static inline void init_sched_rt_class(void)
        unsigned int i;
 
        for_each_possible_cpu(i)
-               alloc_cpumask_var(&per_cpu(local_cpu_mask, i), GFP_KERNEL);
+               alloc_cpumask_var_node(&per_cpu(local_cpu_mask, i),
+                                       GFP_KERNEL, cpu_to_node(i));
 }
 #endif /* CONFIG_SMP */