diff options
author | Grant Likely <grant.likely@linaro.org> | 2013-08-28 21:18:32 +0100 |
---|---|---|
committer | Grant Likely <grant.likely@linaro.org> | 2013-08-28 21:18:32 +0100 |
commit | a1727da599ad030ccaf4073473fd235c8ee28219 (patch) | |
tree | 8e3cd21c4657e725a922fe2ee0da8bd8dfdb6b1c /arch/powerpc | |
parent | 7e0bdf15cee7d2c809558b8169dc5b08792d0c82 (diff) | |
download | blackbird-op-linux-a1727da599ad030ccaf4073473fd235c8ee28219.tar.gz blackbird-op-linux-a1727da599ad030ccaf4073473fd235c8ee28219.zip |
of: consolidate definition of early_init_dt_alloc_memory_arch()
Most architectures use the same implementation. Collapse the common ones
into a single weak function that can be overridden.
Signed-off-by: Grant Likely <grant.likely@linaro.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/kernel/prom.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/powerpc/kernel/prom.c b/arch/powerpc/kernel/prom.c index 67d18dad4368..3fa349efc4a6 100644 --- a/arch/powerpc/kernel/prom.c +++ b/arch/powerpc/kernel/prom.c @@ -544,11 +544,6 @@ void __init early_init_dt_add_memory_arch(u64 base, u64 size) memblock_add(base, size); } -void * __init early_init_dt_alloc_memory_arch(u64 size, u64 align) -{ - return __va(memblock_alloc(size, align)); -} - #ifdef CONFIG_BLK_DEV_INITRD void __init early_init_dt_setup_initrd_arch(u64 start, u64 end) { |