Commit eaa607de authored by Dave Hansen's avatar Dave Hansen
Browse files

x86/mm: Remove now unused SHARED_KERNEL_PMD

parent 99b8f0c5
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -18,8 +18,6 @@ typedef union {
} pte_t;
#endif	/* !__ASSEMBLER__ */

#define SHARED_KERNEL_PMD	0

#define ARCH_PAGE_TABLE_SYNC_MASK	PGTBL_PMD_MODIFIED

/*
+0 −2
Original line number Diff line number Diff line
@@ -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

/*
+0 −2
Original line number Diff line number Diff line
@@ -46,8 +46,6 @@ extern unsigned int ptrs_per_p4d;

#endif	/* !__ASSEMBLER__ */

#define SHARED_KERNEL_PMD	0

#ifdef CONFIG_X86_5LEVEL

/*