diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2020-06-10 10:36:05 +0200 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2020-06-16 13:44:05 +0200 |
commit | 64438e1bc0cdbe6d30bcdcb976f935eb3c297adc (patch) | |
tree | 701339ab9ce0ad992ac96474102d3f0b66c93f62 /drivers/s390/cio | |
parent | 478237a595120a18e9b52fd2c57a6e8b7a01e411 (diff) |
s390/numa: let NODES_SHIFT depend on NEED_MULTIPLE_NODES
Qian Cai reported:
"""
When NUMA=n and nr_node_ids=2, in apply_wqattrs_prepare(), it has,
for_each_node(node) {
if (wq_calc_node_cpumask(...
where it will trigger a booting warning,
WARNING: workqueue cpumask: online intersect > possible intersect
because it found 2 nodes and wq_numa_possible_cpumask[1] is an empty
cpumask.
"""
Let NODES_SHIFT depend on NEED_MULTIPLE_NODES like it is done
on other architectures in order to fix this.
Fixes: 701dc81e7412 ("s390/mm: remove fake numa support")
Reported-by: Qian Cai <cai@lca.pw>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'drivers/s390/cio')
0 files changed, 0 insertions, 0 deletions