x86/mm: Remove the arch-specific p4d_leaf() definition
authorBaoquan He <bhe@redhat.com>
Mon, 31 Mar 2025 08:13:26 +0000 (16:13 +0800)
committerIngo Molnar <mingo@kernel.org>
Tue, 1 Apr 2025 20:48:51 +0000 (22:48 +0200)
commitc083eff324edd73eb23f4bd3f40f388a3e7c2cd2
treed91838f3655a4f37ded53dc3a55e441da510c225
parentb0510ac74e189442dde8799c1b212bd106f2300c
x86/mm: Remove the arch-specific p4d_leaf() definition

P4D huge pages are not supported yet, let's use the generic definition
in <linux/pgtable.h>.

[ mingo: Cleaned up the changelog. ]

Signed-off-by: Baoquan He <bhe@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Oscar Salvador <osalvador@suse.de>
Link: https://lore.kernel.org/r/20250331081327.256412-7-bhe@redhat.com
arch/x86/include/asm/pgtable.h