diff options
Diffstat (limited to 'arch/x86/include/asm/tlbflush.h')
-rw-r--r-- | arch/x86/include/asm/tlbflush.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/tlbflush.h b/arch/x86/include/asm/tlbflush.h index cd791948b286..7e459b7ee708 100644 --- a/arch/x86/include/asm/tlbflush.h +++ b/arch/x86/include/asm/tlbflush.h | |||
@@ -32,7 +32,7 @@ DECLARE_PER_CPU_SHARED_ALIGNED(struct tlb_state, cpu_tlbstate); | |||
32 | /* Initialize cr4 shadow for this CPU. */ | 32 | /* Initialize cr4 shadow for this CPU. */ |
33 | static inline void cr4_init_shadow(void) | 33 | static inline void cr4_init_shadow(void) |
34 | { | 34 | { |
35 | this_cpu_write(cpu_tlbstate.cr4, __read_cr4()); | 35 | this_cpu_write(cpu_tlbstate.cr4, __read_cr4_safe()); |
36 | } | 36 | } |
37 | 37 | ||
38 | /* Set in this cpu's CR4. */ | 38 | /* Set in this cpu's CR4. */ |