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] mce: Fix mcheck_mca_logout to increase er

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] mce: Fix mcheck_mca_logout to increase errcnt when valid entry found.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 14 May 2010 00:41:01 -0700
Delivery-date: Fri, 14 May 2010 00:44:58 -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 1273819944 -3600
# Node ID 9b9a277d8a51de049068d3251b5d84b73a24196b
# Parent  9d53864d7be6d4f95b679fe0b2ef4ab898a81049
mce: Fix mcheck_mca_logout to increase errcnt when valid entry found.

Signed-off-by: Jiang, Yunhong <yunhong.jiang@xxxxxxxxx>
---
 xen/arch/x86/cpu/mcheck/mce.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 9d53864d7be6 -r 9b9a277d8a51 xen/arch/x86/cpu/mcheck/mce.c
--- a/xen/arch/x86/cpu/mcheck/mce.c     Thu May 13 12:21:16 2010 +0100
+++ b/xen/arch/x86/cpu/mcheck/mce.c     Fri May 14 07:52:24 2010 +0100
@@ -282,7 +282,7 @@ mctelem_cookie_t mcheck_mca_logout(enum 
                 * depending on whethere we are called from an exception or
                 * a poller;  this can fail (for example dom0 may not
                 * yet have consumed past telemetry). */
-               if (errcnt == 0) {
+               if (errcnt++ == 0) {
                        if ( (mctc = mctelem_reserve(which)) != NULL ) {
                                mci = mctelem_dataptr(mctc);
                                mcinfo_clear(mci);

_______________________________________________
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] mce: Fix mcheck_mca_logout to increase errcnt when valid entry found., Xen patchbot-unstable <=