summaryrefslogtreecommitdiffstats
path: root/arch/riscv/kernel
diff options
context:
space:
mode:
authorKefeng Wang <wangkefeng.wang@huawei.com>2021-05-10 19:42:22 +0800
committerPalmer Dabbelt <palmerdabbelt@google.com>2021-05-25 22:50:50 -0700
commitf842f5ff6aafc2752580ed99ee757652c08684e7 (patch)
tree6266061221abec724631a3170ddc3ac8001055b6 /arch/riscv/kernel
parentdb756746807b5cb64bbe2e6ac4ff38d18b7787ed (diff)
downloadlinux-stable-f842f5ff6aafc2752580ed99ee757652c08684e7.tar.gz
linux-stable-f842f5ff6aafc2752580ed99ee757652c08684e7.tar.bz2
linux-stable-f842f5ff6aafc2752580ed99ee757652c08684e7.zip
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.c1
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();