mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 08:02:27 +02:00
x86/mm: Remove the arch-specific pgd_leaf() definition
PGD 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-6-bhe@redhat.com
This commit is contained in:
parent
08733088b5
commit
b0510ac74e
|
|
@ -1472,9 +1472,6 @@ static inline bool pgdp_maps_userspace(void *__ptr)
|
|||
return (((ptr & ~PAGE_MASK) / sizeof(pgd_t)) < PGD_KERNEL_START);
|
||||
}
|
||||
|
||||
#define pgd_leaf pgd_leaf
|
||||
static inline bool pgd_leaf(pgd_t pgd) { return false; }
|
||||
|
||||
#ifdef CONFIG_MITIGATION_PAGE_TABLE_ISOLATION
|
||||
/*
|
||||
* All top-level MITIGATION_PAGE_TABLE_ISOLATION page tables are order-1 pages
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user