]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3421bc09ef16fd574376aa57e95b59fbaf5a3b54
tree854dd636e3b2ba5687711e55df2d83918aa39f6c
parentcfe253302c398eb3627d8eabcdd97bb6ad6e5b88
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: 44d4d9bd87ea ("powerpc/pseries: Introduce memory hotplug READD operation")
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/pseries/hotplug-memory.c