powerpc: Allow ppc_md platform hook to override memory_block_size_bytes
authorAnton Blanchard <anton@au1.ibm.com>
Wed, 4 Jun 2014 07:50:47 +0000 (17:50 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 5 Jun 2014 03:20:39 +0000 (13:20 +1000)
commita5d862576a64cb3e0c22dc9cc2170e4d750714f9
treefcbe4063edf1c207af6bcde00506cb763d1db589
parent223ca9d855ce32a4cc2d2b961e6e9d1fb36872ba
powerpc: Allow ppc_md platform hook to override memory_block_size_bytes

The pseries platform code unconditionally overrides
memory_block_size_bytes regardless of the running platform.

Create a ppc_md hook that so each platform can choose to
do what it wants.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/machdep.h
arch/powerpc/kernel/setup_64.c
arch/powerpc/platforms/pseries/hotplug-memory.c
arch/powerpc/platforms/pseries/pseries.h
arch/powerpc/platforms/pseries/setup.c