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 <[email protected]>
> ---
Reviewed-by: Tyrel Datwyler <[email protected]>