powerpc/pseries: Fix build break when MEMORY_HOTREMOVE=n
authorMichael Ellerman <mpe@ellerman.id.au>
Thu, 16 Feb 2017 00:27:00 +0000 (11:27 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 16 Feb 2017 00:27:00 +0000 (11:27 +1100)
commitf84775c2d5d92581f2df60d53b574b0405c85be3
tree854dd636e3b2ba5687711e55df2d83918aa39f6c
parent10d4cf188ab26a4ebeee4c914e82acd5edd9f0ff
powerpc/pseries: Fix build break when MEMORY_HOTREMOVE=n

We broke the build when CONFIG_MEMORY_HOTREMOVE=n:

  arch/powerpc/platforms/pseries/hotplug-memory.c:821:8: error: implicit
  declaration of function 'dlpar_memory_readd_by_index'

Add a dummy to fix it.

Fixes: e70d59700fc3 ("powerpc/pseries: Introduce memory hotplug READD operation")
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/pseries/hotplug-memory.c