diff options
author | Anton Blanchard <anton@au1.ibm.com> | 2014-06-04 17:50:47 +1000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-06-05 13:20:39 +1000 |
commit | a5d862576a64cb3e0c22dc9cc2170e4d750714f9 (patch) | |
tree | fcbe4063edf1c207af6bcde00506cb763d1db589 /arch/powerpc/platforms/pseries/pseries.h | |
parent | 223ca9d855ce32a4cc2d2b961e6e9d1fb36872ba (diff) | |
download | linux-a5d862576a64cb3e0c22dc9cc2170e4d750714f9.tar.gz linux-a5d862576a64cb3e0c22dc9cc2170e4d750714f9.tar.bz2 linux-a5d862576a64cb3e0c22dc9cc2170e4d750714f9.zip |
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>
Diffstat (limited to 'arch/powerpc/platforms/pseries/pseries.h')
-rw-r--r-- | arch/powerpc/platforms/pseries/pseries.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/pseries/pseries.h b/arch/powerpc/platforms/pseries/pseries.h index 99219530ea4a..361add62abf1 100644 --- a/arch/powerpc/platforms/pseries/pseries.h +++ b/arch/powerpc/platforms/pseries/pseries.h @@ -64,4 +64,6 @@ extern int dlpar_detach_node(struct device_node *); struct pci_host_bridge; int pseries_root_bridge_prepare(struct pci_host_bridge *bridge); +unsigned long pseries_memory_block_size(void); + #endif /* _PSERIES_PSERIES_H */ |