From e6f2d5866c55d9ed4d61c22692848b029ccd4f6c Mon Sep 17 00:00:00 2001 From: Sean Christopherson Date: Wed, 12 Nov 2025 09:39:43 -0800 Subject: [PATCH] x86/mm: Drop unnecessary export of "ptdump_walk_pgd_level_debugfs" Don't export "ptdump_walk_pgd_level_debugfs" as its sole user is arch/x86/mm/debug_pagetables.c, which can't be built as a module. No functional change intended. Signed-off-by: Sean Christopherson Signed-off-by: Dave Hansen Link: https://patch.msgid.link/20251112173944.1380633-4-seanjc%40google.com --- arch/x86/mm/dump_pagetables.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/mm/dump_pagetables.c b/arch/x86/mm/dump_pagetables.c index a4700ef6eb64e..2afa7a23340e9 100644 --- a/arch/x86/mm/dump_pagetables.c +++ b/arch/x86/mm/dump_pagetables.c @@ -486,7 +486,6 @@ void ptdump_walk_pgd_level_debugfs(struct seq_file *m, struct mm_struct *mm, #endif ptdump_walk_pgd_level_core(m, mm, pgd, false, false); } -EXPORT_SYMBOL_GPL(ptdump_walk_pgd_level_debugfs); void ptdump_walk_user_pgd_level_checkwx(void) { -- 2.47.3