]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/powerpc/mm/numa.c
Merge branch 'akpm-current/current'
[karo-tx-linux.git] / arch / powerpc / mm / numa.c
index b85d44271c3b9a1591e1fc5c3cd75db9501a5133..669a15e7fa76a07ad57c3d2b82712766520a049a 100644 (file)
@@ -80,7 +80,7 @@ static void __init setup_node_to_cpumask_map(void)
                setup_nr_node_ids();
 
        /* allocate the map */
-       for (node = 0; node < nr_node_ids; node++)
+       for_each_node(node)
                alloc_bootmem_cpumask_var(&node_to_cpumask_map[node]);
 
        /* cpumask_of_node() will now work */