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

[Xen-changelog] [xen-unstable] Fix mce erst bug to pass build under i386.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1282662890 -3600
# Node ID c0e578dc921c5f812a5cba71d8c224c9367c893e
# Parent  143eb656084b59402e8382d2a1716d51b2d38209
Fix mce erst bug to pass build under i386.

Signed-off-by: Liu, Jinsong <jinsong.liu@xxxxxxxxx>
---
 xen/include/xen/cper.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 143eb656084b -r c0e578dc921c xen/include/xen/cper.h
--- a/xen/include/xen/cper.h    Tue Aug 24 16:14:14 2010 +0100
+++ b/xen/include/xen/cper.h    Tue Aug 24 16:14:50 2010 +0100
@@ -41,7 +41,7 @@ static inline u64 cper_next_record_id(vo
        static u64 record_id;
 
        if (!record_id)
-               record_id = get_sec() << 32;
+               record_id = (u64)get_sec() << 32;
 
        return ++record_id;
 }

_______________________________________________
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®.