]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/x86/include/asm/virtext.h
x86: Store a per-cpu shadow copy of CR4
[karo-tx-linux.git] / arch / x86 / include / asm / virtext.h
index f41e19ca717b0bbffb5d9f0f7e3402113a77f76e..cce9ee68e335f86e4bf8ca54784924c4f7202196 100644 (file)
@@ -46,7 +46,7 @@ static inline void cpu_vmxoff(void)
 
 static inline int cpu_vmx_enabled(void)
 {
-       return read_cr4() & X86_CR4_VMXE;
+       return __read_cr4() & X86_CR4_VMXE;
 }
 
 /** Disable VMX if it is enabled on the current CPU