[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] x86 mca: Fix typo of MCA recovery flags



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1245838568 -3600
# Node ID e6c7d6398d38a482f15090bea08716165c1d7333
# Parent  180ae4bca33ed286cf63fa7b3c253558a1ba1031
x86 mca: Fix typo of MCA recovery flags

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

Signed-off-by: Kazuhiro Suzuki <kaz@xxxxxxxxxxxxxx>
---
 xen/arch/x86/cpu/mcheck/x86_mca.h |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff -r 180ae4bca33e -r e6c7d6398d38 xen/arch/x86/cpu/mcheck/x86_mca.h
--- a/xen/arch/x86/cpu/mcheck/x86_mca.h Wed Jun 24 11:15:31 2009 +0100
+++ b/xen/arch/x86/cpu/mcheck/x86_mca.h Wed Jun 24 11:16:08 2009 +0100
@@ -105,13 +105,13 @@ DECLARE_PER_CPU(cpu_banks_t, mce_banks_o
 */
 
 /* 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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.