summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/pgtable-3level_types.h
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2018-08-28 10:40:22 +0300
committerThomas Gleixner <tglx@linutronix.de>2018-09-03 17:50:36 +0300
commit40181646db45fb72f46563a2f3b792adc5380710 (patch)
tree2f5a0b6e64a3849da6de632a2ff914b82e5f0a8e /arch/x86/include/asm/pgtable-3level_types.h
parentc00a280a8efa4dc077596cf646bd50cbd13db3c8 (diff)
downloadlinux-40181646db45fb72f46563a2f3b792adc5380710.tar.xz
x86/paravirt: Move items in pv_info under PARAVIRT_XXL umbrella
All items but name in pv_info are needed by Xen PV only. Define them with CONFIG_PARAVIRT_XXL set only. Signed-off-by: Juergen Gross <jgross@suse.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: xen-devel@lists.xenproject.org Cc: virtualization@lists.linux-foundation.org Cc: akataria@vmware.com Cc: rusty@rustcorp.com.au Cc: boris.ostrovsky@oracle.com Cc: hpa@zytor.com Link: https://lkml.kernel.org/r/20180828074026.820-12-jgross@suse.com
Diffstat (limited to 'arch/x86/include/asm/pgtable-3level_types.h')
-rw-r--r--arch/x86/include/asm/pgtable-3level_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/pgtable-3level_types.h b/arch/x86/include/asm/pgtable-3level_types.h
index 858358a82b14..33845d36897c 100644
--- a/arch/x86/include/asm/pgtable-3level_types.h
+++ b/arch/x86/include/asm/pgtable-3level_types.h
@@ -20,7 +20,7 @@ typedef union {
} pte_t;
#endif /* !__ASSEMBLY__ */
-#ifdef CONFIG_PARAVIRT
+#ifdef CONFIG_PARAVIRT_XXL
#define SHARED_KERNEL_PMD ((!static_cpu_has(X86_FEATURE_PTI) && \
(pv_info.shared_kernel_pmd)))
#else