powerpc: add empty update_numa_cpu_lookup_table for !CONFIG_NUMA

Michael Ellerman patch-notifications at ellerman.id.au
Sun Feb 18 19:55:30 AEDT 2018


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 at baylibre.com>

Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/c1e150ceb61e4a585bad156da15c33

cheers


More information about the Linuxppc-dev mailing list