diff options
author | Anton Blanchard <anton@samba.org> | 2014-10-14 15:17:47 +0400 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2014-11-05 13:00:46 +0300 |
commit | 16d0f5c4af76b0c3424290937bf1ac22adf439b1 (patch) | |
tree | 5a9cc3a237c846b25535bbf719d702eaf0f7d656 /arch/powerpc/include/asm/machdep.h | |
parent | 64ff91ff85b56321e65b476e335955af9bed2c66 (diff) | |
download | linux-16d0f5c4af76b0c3424290937bf1ac22adf439b1.tar.xz |
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>
Diffstat (limited to 'arch/powerpc/include/asm/machdep.h')
-rw-r--r-- | arch/powerpc/include/asm/machdep.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/powerpc/include/asm/machdep.h b/arch/powerpc/include/asm/machdep.h index 4a6511f94258..15c9150a58cc 100644 --- a/arch/powerpc/include/asm/machdep.h +++ b/arch/powerpc/include/asm/machdep.h @@ -291,10 +291,6 @@ struct machdep_calls { #ifdef CONFIG_ARCH_RANDOM int (*get_random_long)(unsigned long *v); #endif - -#ifdef CONFIG_MEMORY_HOTREMOVE - int (*remove_memory)(u64, u64); -#endif }; extern void e500_idle(void); |