summaryrefslogtreecommitdiffstats
path: root/arch/riscv/include/asm
diff options
context:
space:
mode:
authorKefeng Wang <wangkefeng.wang@huawei.com>2021-02-07 16:10:53 +0800
committerPalmer Dabbelt <palmerdabbelt@google.com>2021-02-22 17:51:22 -0800
commitcc937cad14fb219770eb593a3e98b6b0d6fd96fd (patch)
tree93792de6078006f4a71a3a92ccbe3607da612068 /arch/riscv/include/asm
parent7e09fd3994c5bd00ebd22d7ec207dd05da3bf7fb (diff)
downloadlinux-cc937cad14fb219770eb593a3e98b6b0d6fd96fd.tar.bz2
riscv: Remove unnecessary declaration
max_low_pfn and min_low_pfn are declared in linux/memblock.h, and it also is included in arch/riscv/mm/init.c, drop unnecessary declaration. Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Reviewed-by: Atish Patra <atish.patra@wdc.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch/riscv/include/asm')
-rw-r--r--arch/riscv/include/asm/page.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/riscv/include/asm/page.h b/arch/riscv/include/asm/page.h
index 2d50f76efe48..e49d51b97bc1 100644
--- a/arch/riscv/include/asm/page.h
+++ b/arch/riscv/include/asm/page.h
@@ -97,9 +97,6 @@ extern unsigned long pfn_base;
#define ARCH_PFN_OFFSET (PAGE_OFFSET >> PAGE_SHIFT)
#endif /* CONFIG_MMU */
-extern unsigned long max_low_pfn;
-extern unsigned long min_low_pfn;
-
#define __pa_to_va_nodebug(x) ((void *)((unsigned long) (x) + va_pa_offset))
#define __va_to_pa_nodebug(x) ((unsigned long)(x) - va_pa_offset)