diff options
author | Jisheng Zhang <jszhang@kernel.org> | 2022-05-16 17:32:04 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2022-06-03 00:50:41 +0300 |
commit | 9c375cfc7395bfed2c2790e3b97c32eefb7b726e (patch) | |
tree | 7277aac154de8eb019da98df1dbe01608f2a31ea /arch/riscv/include/asm/pgtable-bits.h | |
parent | 9eb2e45d097c0b951d76d9c6625f248f54e8c7ff (diff) | |
download | linux-9c375cfc7395bfed2c2790e3b97c32eefb7b726e.tar.xz |
riscv: mm: init: make pt_ops_set_[early|late|fixmap] static
These three functions are only used in init.c, so make them static.
Fix W=1 warnings like below:
arch/riscv/mm/init.c:721:13: warning: no previous prototype for function
'pt_ops_set_early' [-Wmissing-prototypes]
void __init pt_ops_set_early(void)
^
Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Reviewed-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Link: https://lore.kernel.org/r/20220516143204.2603-1-jszhang@kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'arch/riscv/include/asm/pgtable-bits.h')
0 files changed, 0 insertions, 0 deletions