powerpc: Remove ppc_md.remove_memory
authorAnton Blanchard <anton@samba.org>
Tue, 14 Oct 2014 11:17:47 +0000 (22:17 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 5 Nov 2014 10:00:46 +0000 (21:00 +1100)
commit16d0f5c4af76b0c3424290937bf1ac22adf439b1
tree5a9cc3a237c846b25535bbf719d702eaf0f7d656
parent64ff91ff85b56321e65b476e335955af9bed2c66
powerpc: Remove ppc_md.remove_memory

We have an extra level of indirection on memory hot remove which is not
matched on memory hot add. Memory hotplug is book3s only, so there is
no need for it.

This also enables means remove_memory() (ie memory hot unplug) works
on powernv.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/machdep.h
arch/powerpc/mm/mem.c
arch/powerpc/platforms/pseries/hotplug-memory.c