]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
Revert "xen/mce: Change the machine check point"
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 11 May 2012 20:32:27 +0000 (16:32 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 11 May 2012 20:32:27 +0000 (16:32 -0400)
This reverts commit b821d4bf0d69b71ffef5755e3396d78b19932bcb.

arch/x86/xen/enlighten.c

index cfd1b8093163f807327ed991b2c97f2ed38d218a..c28824566aa617baebf3ac9339479e777e06ae6b 100644 (file)
@@ -521,7 +521,7 @@ static int cvt_gate_to_trap(int vector, const gate_desc *val,
         * Look for known traps using IST, and substitute them
         * appropriately.  The debugger ones are the only ones we care
         * about.  Xen will handle faults like double_fault and
-        * nmi, so we should never see them.  Warn if
+        * machine_check, so we should never see them.  Warn if
         * there's an unexpected IST-using fault handler.
         */
        if (addr == (unsigned long)debug)
@@ -536,10 +536,7 @@ static int cvt_gate_to_trap(int vector, const gate_desc *val,
                return 0;
 #ifdef CONFIG_X86_MCE
        } else if (addr == (unsigned long)machine_check) {
-               if (xen_initial_domain())
-                       addr = (unsigned long)machine_check;
-               else
-                       return 0;
+               return 0;
 #endif
        } else {
                /* Some other trap using IST? */