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] x86 mca: Fix typo of MCA recovery flags

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] x86 mca: Fix typo of MCA recovery flags
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 26 Jun 2009 08:57:00 -0700
Delivery-date: Fri, 26 Jun 2009 09:07:43 -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 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] x86 mca: Fix typo of MCA recovery flags, Xen patchbot-unstable <=