diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2018-05-08 14:59:56 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-05-08 14:59:56 +1000 |
commit | 6c0a8f6b5a45ac892a763b6299bd3c5324fc5e02 (patch) | |
tree | 79a87d2820db9b11de5da836d99da57531401cd8 /arch/c6x/kernel | |
parent | edf6a2dfe3889daf97e7c164891a87832169e3e4 (diff) |
powerpc/pseries: Fix CONFIG_NUMA=n build
The build is failing with CONFIG_NUMA=n and some compiler versions:
arch/powerpc/platforms/pseries/hotplug-cpu.o: In function `dlpar_online_cpu':
hotplug-cpu.c:(.text+0x12c): undefined reference to `timed_topology_update'
arch/powerpc/platforms/pseries/hotplug-cpu.o: In function `dlpar_cpu_remove':
hotplug-cpu.c:(.text+0x400): undefined reference to `timed_topology_update'
Fix it by moving the empty version of timed_topology_update() into the
existing #ifdef block, which has the right guard of SPLPAR && NUMA.
Fixes: cee5405da402 ("powerpc/hotplug: Improve responsiveness of hotplug change")
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/c6x/kernel')
0 files changed, 0 insertions, 0 deletions