powerpc/pseries: Add empty update_numa_cpu_lookup_table() for NUMA=n
authorCorentin Labbe <clabbe@baylibre.com>
Wed, 14 Feb 2018 12:17:47 +0000 (12:17 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 31 May 2018 23:30:16 +0000 (00:30 +0100)
commit3ea5e8ca5c4f15f1e8777dc12d345bab35746841
tree73c32a00fa690f65f4e9d489daedcbe202837763
parent6eab16489865086d2891939ea069d0983b9c44dd
powerpc/pseries: Add empty update_numa_cpu_lookup_table() for NUMA=n

commit c1e150ceb61e4a585bad156da15c33bfe89f5858 upstream.

When CONFIG_NUMA is not set, the build fails with:

  arch/powerpc/platforms/pseries/hotplug-cpu.c:335:4:
  error: déclaration implicite de la fonction « update_numa_cpu_lookup_table »

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@baylibre.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
arch/powerpc/include/asm/topology.h