[PATCH] pseries: Fix build break for SPLPAR=n and CPU hotplug

Tyrel Datwyler tyreld at linux.vnet.ibm.com
Sat Feb 10 09:33:04 AEDT 2018


On 02/09/2018 10:13 AM, Nathan Fontenot wrote:
> Build break fix for SPLPAR=n builds and CPU hotplug.
> 
> arch/powerpc/platforms/pseries/hotplug-cpu.o: In function `.dlpar_online_cpu':
> hotplug-cpu.c:(.text+0xc40): undefined reference to `.find_and_online_cpu_nid'
> 
> Move the declaration of find_and_online_cpu_nid() to topology.h where
> we can define it as a no-op for SPLAPR=n builds.
> 
> Fixes: e67e02a ("powerpc/pseries: Fix cpu hotplug crash with memoryless nodes")
> Signed-off-by: Nathan Fontenot <nfont at linux.vnet.ibm.com>
> ---

Reviewed-by: Tyrel Datwyler <tyreld at linux.vnet.ibm.com>



More information about the Linuxppc-dev mailing list