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-devel

[Xen-devel] [PATCH] Fix typo of MCA recovery flags

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Fix typo of MCA recovery flags
From: "SUZUKI, Kazuhiro" <kaz@xxxxxxxxxxxxxx>
Date: Wed, 24 Jun 2009 16:18:35 +0900 (JST)
Delivery-date: Wed, 24 Jun 2009 00:19:02 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

The following patch fixes typo of MCA recovery flags.
It should be '<<' instead of '<'.

Thanks,
KAZ

Signed-off-by: Kazuhiro Suzuki <kaz@xxxxxxxxxxxxxx>
diff -r 442fb5f1e0a2 xen/arch/x86/cpu/mcheck/x86_mca.h
--- a/xen/arch/x86/cpu/mcheck/x86_mca.h Tue Jun 23 17:32:07 2009 +0100
+++ b/xen/arch/x86/cpu/mcheck/x86_mca.h Wed Jun 24 16:00:11 2009 +0900
@@ -105,13 +105,13 @@
 */
 
 /* MCA error has been recovered successfully by the recovery action*/
-#define MCA_RECOVERED (0x1 < 0)
+#define MCA_RECOVERED (0x1 << 0)
 /* MCA error impact the specified DOMAIN in owner field below */
-#define MCA_OWNER (0x1 < 1)
+#define MCA_OWNER (0x1 << 1)
 /* MCA error can't be recovered and need reset */
-#define MCA_NEED_RESET (0x1 < 2)
+#define MCA_NEED_RESET (0x1 << 2)
 /* MCA error did not have any action yet */
-#define MCA_NO_ACTION (0x1 < 3)
+#define MCA_NO_ACTION (0x1 << 3)
 
 struct mca_handle_result
 {
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>