]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 14 Feb 2018 23:10:02 +0000 (10:10 +1100)
commit5e23785cbedd6070e2bf6ce96024bd51fa7e9857
treee3487e63933f4189c2ae9449a00d9f10b6555a7a
parent5025c0dfb2d06870fa51f1a4a3f4355fd8f076cb
powerpc/pseries: Add empty update_numa_cpu_lookup_table() for NUMA=n

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: ba1c613f3fe3 ("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>
arch/powerpc/include/asm/topology.h