[PATCH v3 5/5] riscv: mm: unexport _pgtable_l4_enabled and _pgtable_l5_enabled
Jisheng Zhang
jszhang at kernel.org
Wed Sep 9 08:01:58 PDT 2026
Now, these two vars are only used by kernel itself, especially the code
before MMU on. No modules users any more, unexport them.
Signed-off-by: Jisheng Zhang <jszhang at kernel.org>
---
arch/riscv/mm/init.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/riscv/mm/init.c b/arch/riscv/mm/init.c
index 6f51f265fb85..0d409acf9be0 100644
--- a/arch/riscv/mm/init.c
+++ b/arch/riscv/mm/init.c
@@ -59,8 +59,6 @@ EXPORT_SYMBOL(satp_mode);
#ifdef CONFIG_64BIT
bool _pgtable_l4_enabled __ro_after_init = true;
bool _pgtable_l5_enabled __ro_after_init = true;
-EXPORT_SYMBOL(_pgtable_l4_enabled);
-EXPORT_SYMBOL(_pgtable_l5_enabled);
#endif
phys_addr_t phys_ram_base __ro_after_init;
--
2.53.0
More information about the linux-riscv
mailing list