aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/xen/enlighten.c
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2016-03-29 11:42:02 -0400
committerIngo Molnar <mingo@kernel.org>2016-03-31 07:35:09 -0400
commitc109bf95992b391bb40bc37c5d309d13fead99b5 (patch)
treec6a67c2c137ccb47ca806e914eeb5defb8a25363 /arch/x86/xen/enlighten.c
parent054efb6467f84490bdf92afab6d9dbd5102e620a (diff)
x86/cpufeature: Remove cpu_has_pge
Use static_cpu_has() in __flush_tlb_all() due to the time-sensitivity of this one. Signed-off-by: Borislav Petkov <bp@suse.de> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/1459266123-21878-10-git-send-email-bp@alien8.de Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/xen/enlighten.c')
-rw-r--r--arch/x86/xen/enlighten.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c
index 880862c7d9dd..055f48ddb03c 100644
--- a/arch/x86/xen/enlighten.c
+++ b/arch/x86/xen/enlighten.c
@@ -1472,7 +1472,7 @@ static void xen_pvh_set_cr_flags(int cpu)
1472 if (cpu_has_pse) 1472 if (cpu_has_pse)
1473 cr4_set_bits_and_update_boot(X86_CR4_PSE); 1473 cr4_set_bits_and_update_boot(X86_CR4_PSE);
1474 1474
1475 if (cpu_has_pge) 1475 if (boot_cpu_has(X86_FEATURE_PGE))
1476 cr4_set_bits_and_update_boot(X86_CR4_PGE); 1476 cr4_set_bits_and_update_boot(X86_CR4_PGE);
1477} 1477}
1478 1478