mirror of
https://github.com/torvalds/linux.git
synced 2026-05-29 17:43:52 +02:00
x86/mm: Remove now unused SHARED_KERNEL_PMD
All the users of SHARED_KERNEL_PMD are gone. Zap it. Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> Link: https://lore.kernel.org/all/20250414173244.1125BEC3%40davehans-spike.ostc.intel.com
This commit is contained in:
parent
99b8f0c54f
commit
eaa607deb2
|
|
@ -18,8 +18,6 @@ typedef union {
|
|||
} pte_t;
|
||||
#endif /* !__ASSEMBLER__ */
|
||||
|
||||
#define SHARED_KERNEL_PMD 0
|
||||
|
||||
#define ARCH_PAGE_TABLE_SYNC_MASK PGTBL_PMD_MODIFIED
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -27,8 +27,6 @@ typedef union {
|
|||
} pmd_t;
|
||||
#endif /* !__ASSEMBLER__ */
|
||||
|
||||
#define SHARED_KERNEL_PMD (!static_cpu_has(X86_FEATURE_PTI))
|
||||
|
||||
#define ARCH_PAGE_TABLE_SYNC_MASK PGTBL_PMD_MODIFIED
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -46,8 +46,6 @@ extern unsigned int ptrs_per_p4d;
|
|||
|
||||
#endif /* !__ASSEMBLER__ */
|
||||
|
||||
#define SHARED_KERNEL_PMD 0
|
||||
|
||||
#ifdef CONFIG_X86_5LEVEL
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user