diff options
author | Kefeng Wang <wangkefeng.wang@huawei.com> | 2021-05-10 19:42:22 +0800 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2021-05-25 22:50:50 -0700 |
commit | f842f5ff6aafc2752580ed99ee757652c08684e7 (patch) | |
tree | 6266061221abec724631a3170ddc3ac8001055b6 /arch/riscv/kernel | |
parent | db756746807b5cb64bbe2e6ac4ff38d18b7787ed (diff) |
riscv: Move setup_bootmem into paging_init
Make setup_bootmem() static.
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch/riscv/kernel')
-rw-r--r-- | arch/riscv/kernel/setup.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/riscv/kernel/setup.c b/arch/riscv/kernel/setup.c index 03901d3a8b02..4db4d0b5911f 100644 --- a/arch/riscv/kernel/setup.c +++ b/arch/riscv/kernel/setup.c @@ -276,7 +276,6 @@ void __init setup_arch(char **cmdline_p) parse_early_param(); efi_init(); - setup_bootmem(); paging_init(); #if IS_ENABLED(CONFIG_BUILTIN_DTB) unflatten_and_copy_device_tree(); |