x86/paravirt: Add _safe to the read_ms()r and write_msr() PV callbacks
[cascardo/linux.git] / arch / x86 / include / asm / paravirt_types.h
index e8c2326..09c9e1d 100644 (file)
@@ -155,10 +155,10 @@ struct pv_cpu_ops {
        void (*cpuid)(unsigned int *eax, unsigned int *ebx,
                      unsigned int *ecx, unsigned int *edx);
 
-       /* MSR, PMC and TSR operations.
-          err = 0/-EFAULT.  wrmsr returns 0/-EFAULT. */
-       u64 (*read_msr)(unsigned int msr, int *err);
-       int (*write_msr)(unsigned int msr, unsigned low, unsigned high);
+       /* MSR operations.
+          err = 0/-EIO.  wrmsr returns 0/-EIO. */
+       u64 (*read_msr_safe)(unsigned int msr, int *err);
+       int (*write_msr_safe)(unsigned int msr, unsigned low, unsigned high);
 
        u64 (*read_pmc)(int counter);