Commit aa2a0c23 authored by Corentin Labbe's avatar Corentin Labbe Committed by Greg Kroah-Hartman

powerpc/pseries: Add empty update_numa_cpu_lookup_table() for NUMA=n

[ Upstream commit c1e150ce ]

When CONFIG_NUMA is not set, the build fails with:

  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: 1d9a0907 ("powerpc/numa: Invalidate numa_cpu_lookup_table on cpu remove")
Signed-off-by: default avatarCorentin Labbe <>
Signed-off-by: default avatarMichael Ellerman <>
Signed-off-by: default avatarSasha Levin <>
parent 71a9d124
......@@ -81,6 +81,9 @@ static inline int numa_update_cpu_topology(bool cpus_locked)
return 0;
static inline void update_numa_cpu_lookup_table(unsigned int cpu, int node) {}
#endif /* CONFIG_NUMA */
#if defined(CONFIG_NUMA) && defined(CONFIG_PPC_SPLPAR)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment