diff options
| author | Grant Likely <grant.likely@linaro.org> | 2013-08-28 16:18:32 -0400 |
|---|---|---|
| committer | Grant Likely <grant.likely@linaro.org> | 2013-08-28 16:18:32 -0400 |
| commit | a1727da599ad030ccaf4073473fd235c8ee28219 (patch) | |
| tree | 8e3cd21c4657e725a922fe2ee0da8bd8dfdb6b1c /arch/microblaze/kernel | |
| parent | 7e0bdf15cee7d2c809558b8169dc5b08792d0c82 (diff) | |
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/microblaze/kernel')
| -rw-r--r-- | arch/microblaze/kernel/prom.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/microblaze/kernel/prom.c b/arch/microblaze/kernel/prom.c index 62e2e8f2c5d6..0c4453f134cb 100644 --- a/arch/microblaze/kernel/prom.c +++ b/arch/microblaze/kernel/prom.c | |||
| @@ -46,11 +46,6 @@ void __init early_init_dt_add_memory_arch(u64 base, u64 size) | |||
| 46 | memblock_add(base, size); | 46 | memblock_add(base, size); |
| 47 | } | 47 | } |
| 48 | 48 | ||
| 49 | void * __init early_init_dt_alloc_memory_arch(u64 size, u64 align) | ||
| 50 | { | ||
| 51 | return __va(memblock_alloc(size, align)); | ||
| 52 | } | ||
| 53 | |||
| 54 | #ifdef CONFIG_EARLY_PRINTK | 49 | #ifdef CONFIG_EARLY_PRINTK |
| 55 | static char *stdout; | 50 | static char *stdout; |
| 56 | 51 | ||
