Re: powerpc: add empty update_numa_cpu_lookup_table for !CONFIG_NUMA
From: Michael Ellerman
Date: Sun Feb 18 2018 - 03:55:38 EST
On Wed, 2018-02-14 at 12:17:47 UTC, Corentin Labbe wrote:
> When CONFIG_NUMA is not set, build fail with:
> arch/powerpc/platforms/pseries/hotplug-cpu.c:335:4: error: déclaration implicite de la fonction « update_numa_cpu_lookup_table » [-Werror=implicit-function-declaration]
>
> So we have to add update_numa_cpu_lookup_table as an empty function when CONFIG_NUMA is not set.
>
> Fixes: 1d9a090783be ("powerpc/numa: Invalidate numa_cpu_lookup_table on cpu remove")
> Signed-off-by: Corentin Labbe <clabbe@xxxxxxxxxxxx>
Applied to powerpc fixes, thanks.
https://git.kernel.org/powerpc/c/c1e150ceb61e4a585bad156da15c33
cheers