diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/workqueue.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 02916f421385..ee8e29a2320c 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c | |||
@@ -4905,7 +4905,8 @@ static void __init wq_numa_init(void) | |||
4905 | BUG_ON(!tbl); | 4905 | BUG_ON(!tbl); |
4906 | 4906 | ||
4907 | for_each_node(node) | 4907 | for_each_node(node) |
4908 | BUG_ON(!alloc_cpumask_var_node(&tbl[node], GFP_KERNEL, node)); | 4908 | BUG_ON(!alloc_cpumask_var_node(&tbl[node], GFP_KERNEL, |
4909 | node_online(node) ? node : NUMA_NO_NODE)); | ||
4909 | 4910 | ||
4910 | for_each_possible_cpu(cpu) { | 4911 | for_each_possible_cpu(cpu) { |
4911 | node = cpu_to_node(cpu); | 4912 | node = cpu_to_node(cpu); |