summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/pgtable-3level_types.h
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2020-08-15 13:06:36 +0300
committerIngo Molnar <mingo@kernel.org>2020-08-15 14:52:11 +0300
commit0cabf9914990dc59a7e1793ef2fb294d578dc210 (patch)
tree64d6b2b835d018ceb4b1eedf059cb9f77d4bba43 /arch/x86/include/asm/pgtable-3level_types.h
parentc9c9735c46f589b9877b7fc00c89ef1b61a31e18 (diff)
downloadlinux-0cabf9914990dc59a7e1793ef2fb294d578dc210.tar.xz
x86/paravirt: Remove 32-bit support from CONFIG_PARAVIRT_XXL
The last 32-bit user of stuff under CONFIG_PARAVIRT_XXL is gone. Remove 32-bit specific parts. Signed-off-by: Juergen Gross <jgross@suse.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20200815100641.26362-2-jgross@suse.com
Diffstat (limited to 'arch/x86/include/asm/pgtable-3level_types.h')
-rw-r--r--arch/x86/include/asm/pgtable-3level_types.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/x86/include/asm/pgtable-3level_types.h b/arch/x86/include/asm/pgtable-3level_types.h
index 80fbb4a9ed87..56baf43befb4 100644
--- a/arch/x86/include/asm/pgtable-3level_types.h
+++ b/arch/x86/include/asm/pgtable-3level_types.h
@@ -20,12 +20,7 @@ typedef union {
} pte_t;
#endif /* !__ASSEMBLY__ */
-#ifdef CONFIG_PARAVIRT_XXL
-#define SHARED_KERNEL_PMD ((!static_cpu_has(X86_FEATURE_PTI) && \
- (pv_info.shared_kernel_pmd)))
-#else
#define SHARED_KERNEL_PMD (!static_cpu_has(X86_FEATURE_PTI))
-#endif
#define ARCH_PAGE_TABLE_SYNC_MASK (SHARED_KERNEL_PMD ? 0 : PGTBL_PMD_MODIFIED)