|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] Increase the errcnt when valid mce entry found
Fix to mcheck_mca_logout to increase the errcnt when valid entry found.
Signed-off-by: Jiang, Yunhong <yunhong.jiang@xxxxxxxxx>
diff -r bbf009817ffb xen/arch/x86/cpu/mcheck/mce.c
--- a/xen/arch/x86/cpu/mcheck/mce.c Fri May 07 19:22:28 2010 +0100
+++ b/xen/arch/x86/cpu/mcheck/mce.c Wed May 12 15:42:51 2010 +0800
@@ -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);
mce.patch
Description: mce.patch
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] Increase the errcnt when valid mce entry found,
Jiang, Yunhong <=
|
|
|
|
|