]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/x86/include/asm/tlbflush.h
x86/asm: Get rid of __read_cr4_safe()
[karo-tx-linux.git] / arch / x86 / include / asm / tlbflush.h
index dee8a70382ba711b8830970f520e5073aad95ed4..6fa85944af83d8ddbbad3a344a31a7920e64e6d0 100644 (file)
@@ -81,7 +81,7 @@ DECLARE_PER_CPU_SHARED_ALIGNED(struct tlb_state, cpu_tlbstate);
 /* Initialize cr4 shadow for this CPU. */
 static inline void cr4_init_shadow(void)
 {
-       this_cpu_write(cpu_tlbstate.cr4, __read_cr4_safe());
+       this_cpu_write(cpu_tlbstate.cr4, __read_cr4());
 }
 
 /* Set in this cpu's CR4. */