diff options
author | Mike Rapoport <rppt@linux.vnet.ibm.com> | 2018-10-27 00:04:55 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-10-27 01:25:20 +0200 |
commit | 0042379279bcac871d2a60172f942a3a255ec611 (patch) | |
tree | bd15cf576b059345cd2cdfcfea6179b5202369ff /arch/nios2/kernel/prom.c | |
parent | nios2: use generic early_init_dt_add_memory_arch (diff) | |
download | linux-0042379279bcac871d2a60172f942a3a255ec611.tar.xz linux-0042379279bcac871d2a60172f942a3a255ec611.zip |
nios2: switch to NO_BOOTMEM
Remove bootmem bitmap initialization and replace reserve_bootmem() with
memblock_reserve().
Link: http://lkml.kernel.org/r/1533326330-31677-5-git-send-email-rppt@linux.vnet.ibm.com
Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
Acked-by: Ley Foon Tan <ley.foon.tan@intel.com>
Cc: Guan Xuetao <gxt@pku.edu.cn>
Cc: Richard Kuo <rkuo@codeaurora.org>
Cc: Richard Weinberger <richard@nod.at>
Cc: Rob Herring <robh@kernel.org>
Cc: Michal Hocko <mhocko@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/nios2/kernel/prom.c')
-rw-r--r-- | arch/nios2/kernel/prom.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/nios2/kernel/prom.c b/arch/nios2/kernel/prom.c index ba96a498ef13..a6d4f7530247 100644 --- a/arch/nios2/kernel/prom.c +++ b/arch/nios2/kernel/prom.c @@ -32,13 +32,6 @@ #include <asm/sections.h> -int __init early_init_dt_reserve_memory_arch(phys_addr_t base, phys_addr_t size, - bool nomap) -{ - reserve_bootmem(base, size, BOOTMEM_DEFAULT); - return 0; -} - void __init early_init_devtree(void *params) { __be32 *dtb = (u32 *)__dtb_start; |