]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - arch/x86/xen/enlighten.c
Merge branch 'x86-xen-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6.git] / arch / x86 / xen / enlighten.c
index 76143136dead5b58d62f6bf1557f4b8a92b53899..0dd0c2c6cae0ff1fb8aa1ce563636e7ad38ad880 100644 (file)
@@ -786,7 +786,7 @@ static int xen_write_msr_safe(unsigned int msr, unsigned low, unsigned high)
        set:
                base = ((u64)high << 32) | low;
                if (HYPERVISOR_set_segment_base(which, base) != 0)
-                       ret = -EFAULT;
+                       ret = -EIO;
                break;
 #endif