WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] mcheck: Small fix to Intel CMCI code

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] mcheck: Small fix to Intel CMCI code
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 20 Mar 2009 08:40:14 -0700
Delivery-date: Fri, 20 Mar 2009 08:42:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1237538694 0
# Node ID c657fc593306b8423b88c55e4dc4fe9617c40e7e
# Parent  3dcb5ad8be0cecc33f2ba2bfb4eb2b79424766ad
mcheck: Small fix to Intel CMCI code

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/arch/x86/cpu/mcheck/mce_intel.c |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff -r 3dcb5ad8be0c -r c657fc593306 xen/arch/x86/cpu/mcheck/mce_intel.c
--- a/xen/arch/x86/cpu/mcheck/mce_intel.c       Fri Mar 20 08:43:53 2009 +0000
+++ b/xen/arch/x86/cpu/mcheck/mce_intel.c       Fri Mar 20 08:44:54 2009 +0000
@@ -198,7 +198,6 @@ static void cmci_discover(void)
 {
     unsigned long flags;
     int i;
-    struct mc_info *mi = NULL;
     mctelem_cookie_t mctc;
     struct mca_summary bs;
 
@@ -226,7 +225,7 @@ static void cmci_discover(void)
             mctelem_commit(mctc);
             send_guest_global_virq(dom0, VIRQ_MCA);
         } else {
-            x86_mcinfo_dump(mi);
+            x86_mcinfo_dump(mctelem_dataptr(mctc));
             mctelem_dismiss(mctc);
        }
     } else if (mctc != NULL)
@@ -326,7 +325,6 @@ static void intel_init_cmci(struct cpuin
 
 fastcall void smp_cmci_interrupt(struct cpu_user_regs *regs)
 {
-    struct mc_info *mi = NULL;
     mctelem_cookie_t mctc;
     struct mca_summary bs;
 
@@ -341,9 +339,9 @@ fastcall void smp_cmci_interrupt(struct 
             mctelem_commit(mctc);
             send_guest_global_virq(dom0, VIRQ_MCA);
         } else {
-            x86_mcinfo_dump(mi);
+            x86_mcinfo_dump(mctelem_dataptr(mctc));
             mctelem_dismiss(mctc);
-       }
+        }
     } else if (mctc != NULL)
         mctelem_dismiss(mctc);
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] mcheck: Small fix to Intel CMCI code, Xen patchbot-unstable <=