Skip to contentSkip to conversation

Fix typo of MCA recovery flags

PATCH In review SUZUKI, Kazuhiro 2 participants 2 messages Jun 24, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix typo of MCA recovery flags

Hi,

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

Thanks,
KAZ

xen/arch/x86/cpu/mcheck/x86_mca.h +4 -4
diff -r 442fb5f1e0a2 xen/arch/x86/cpu/mcheck/x86_mca.h
@@ -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
[email protected]
http://lists.xensource.com/xen-devel