[PATCH] powerpc/pseries/cpuhp: fix non-NUMA build
Nathan Lynch
nathanl at linux.ibm.com
Tue Aug 17 01:25:31 AEST 2021
Christophe Leroy <christophe.leroy at csgroup.eu> writes:
> Le 16/08/2021 à 17:17, Nathan Lynch a écrit :
>> With CONFIG_NUMA unset, direct references to node_to_cpumask_map don't
>> work:
>>
>> 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 (first use in this
>>>> function)
>> 1022 | node_to_cpumask_map[node]);
>> | ^~~~~~~~~~~~~~~~~~~
>>
>> Use cpumask_of_node() here instead.
>
>
> Isn't it the same as
> https://patchwork.ozlabs.org/project/linuxppc-dev/patch/20210816041032.2839343-1-mpe@ellerman.id.au/ ?
Yes, thanks.
More information about the Linuxppc-dev
mailing list