Merge branch 'sockmap-ulp-fixes'
[linux-2.6-microblaze.git] / kernel / workqueue.c
index 465a28b..78b1920 100644 (file)
@@ -5638,7 +5638,7 @@ static void __init wq_numa_init(void)
         * available.  Build one from cpu_to_node() which should have been
         * fully initialized by now.
         */
-       tbl = kzalloc(nr_node_ids * sizeof(tbl[0]), GFP_KERNEL);
+       tbl = kcalloc(nr_node_ids, sizeof(tbl[0]), GFP_KERNEL);
        BUG_ON(!tbl);
 
        for_each_node(node)