]> xenbits.xensource.com Git - legacy/linux-2.6.18-xen.git/commitdiff
mce: support machine check logging left over from previous reset
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 29 Sep 2009 10:23:06 +0000 (11:23 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 29 Sep 2009 10:23:06 +0000 (11:23 +0100)
Signed-off-by: Kazuhiro Suzuki <kaz@jp.fujitsu.com>
arch/x86_64/kernel/mce_dom0.c

index e20daa3fd645e811006c7c136975eef9130d0ce5..97e2d33b570f1da771bb4b7cd5eb123319ef4f06 100644 (file)
@@ -127,5 +127,8 @@ void bind_virq_for_mce(void)
        g_mi = kmalloc(sizeof(struct mc_info), GFP_KERNEL);
        if (ret < 0)
                printk(KERN_ERR "MCE_DOM0_LOG: bind_virq for DOM0 failed\n");
+
+       /* Log the machine checks left over from the previous reset. */
+       mce_dom0_interrupt(VIRQ_MCA, NULL, NULL);
 }