|
@@ -3284,6 +3284,7 @@ int workqueue_sysfs_register(struct workqueue_struct *wq)
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ dev_set_uevent_suppress(&wq_dev->dev, false);
|
|
|
kobject_uevent(&wq_dev->dev.kobj, KOBJ_ADD);
|
|
|
return 0;
|
|
|
}
|
|
@@ -4879,7 +4880,7 @@ static void __init wq_numa_init(void)
|
|
|
BUG_ON(!tbl);
|
|
|
|
|
|
for_each_node(node)
|
|
|
- BUG_ON(!alloc_cpumask_var_node(&tbl[node], GFP_KERNEL,
|
|
|
+ BUG_ON(!zalloc_cpumask_var_node(&tbl[node], GFP_KERNEL,
|
|
|
node_online(node) ? node : NUMA_NO_NODE));
|
|
|
|
|
|
for_each_possible_cpu(cpu) {
|