diff options
| author | Michael Ellerman <[email protected]> | 2021-08-16 12:30:11 +1000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2021-08-16 14:11:00 +1000 |
| commit | 8b893ef190b0c440877de04f767efca4bf4d6af8 (patch) | |
| tree | 350734b6986a3b66ddda1c40afd8857ef3a3569b /scripts/stackusage | |
| parent | 0355785313e2191be4e1108cdbda94ddb0238c48 (diff) | |
powerpc/pseries: Fix build error when NUMA=n
As reported by lkp, if NUMA=n we see a build error:
arch/powerpc/platforms/pseries/hotplug-cpu.c: In function 'pseries_cpu_hotplug_init':
arch/powerpc/platforms/pseries/hotplug-cpu.c:1022:8: error: 'node_to_cpumask_map' undeclared
1022 | node_to_cpumask_map[node]);
Use cpumask_of_node() which has an empty stub for NUMA=n, and when
NUMA=y does a lookup from node_to_cpumask_map[].
Fixes: bd1dd4c5f528 ("powerpc/pseries: Prevent free CPU ids being reused on another node")
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions