[tip: x86/misc] x86/mm: Drop unnecessary export of "ptdump_walk_pgd_level_debugfs"

tip-bot2 for Sean Christopherson posted 1 patch 3 weeks, 4 days ago
arch/x86/mm/dump_pagetables.c | 1 -
1 file changed, 1 deletion(-)
[tip: x86/misc] x86/mm: Drop unnecessary export of "ptdump_walk_pgd_level_debugfs"
Posted by tip-bot2 for Sean Christopherson 3 weeks, 4 days ago
The following commit has been merged into the x86/misc branch of tip:

Commit-ID:     e6f2d5866c55d9ed4d61c22692848b029ccd4f6c
Gitweb:        https://git.kernel.org/tip/e6f2d5866c55d9ed4d61c22692848b029ccd4f6c
Author:        Sean Christopherson <seanjc@google.com>
AuthorDate:    Wed, 12 Nov 2025 09:39:43 -08:00
Committer:     Dave Hansen <dave.hansen@linux.intel.com>
CommitterDate: Wed, 12 Nov 2025 15:24:42 -08:00

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 <seanjc@google.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
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 a4700ef..2afa7a2 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)
 {