]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/x86/xen/enlighten.c
xen: add support for PAT
[karo-tx-linux.git] / arch / x86 / xen / enlighten.c
index d8873014b5edbec01a3c85d131caa2a42fbf1618..b860e576ed0cfa739bf31fb9969c497871920a9c 100644 (file)
@@ -829,6 +829,11 @@ static int xen_write_msr_safe(unsigned int msr, unsigned low, unsigned high)
                   Xen console noise. */
                break;
 
+       case MSR_IA32_CR_PAT:
+               if (smp_processor_id() == 0)
+                       xen_set_pat(((u64)high << 32) | low);
+               break;
+
        default:
                ret = native_write_msr_safe(msr, low, high);
        }