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

[Xen-changelog] [PATCH] 64-session-id.patch



ChangeSet 1.1721, 2005/06/14 14:06:33+01:00, arun.sharma@xxxxxxxxx

        [PATCH] 64-session-id.patch
        
        session_id is an opaque pointer, so should be wider on 64 bit platforms.
        
        Signed-off-by: Kevin Tian <kevin.tian@xxxxxxxxx>
        Signed-off-by: Arun Sharma <arun.sharma@xxxxxxxxx>



 python/xen/lowlevel/xu/xu.c |    2 +-
 xcs/xcs_proto.h             |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


diff -Nru a/tools/python/xen/lowlevel/xu/xu.c 
b/tools/python/xen/lowlevel/xu/xu.c
--- a/tools/python/xen/lowlevel/xu/xu.c 2005-06-14 10:02:23 -04:00
+++ b/tools/python/xen/lowlevel/xu/xu.c 2005-06-14 10:02:23 -04:00
@@ -72,7 +72,7 @@
 
 static int xcs_ctrl_fd = -1; /* control connection to the xcs server. */
 static int xcs_data_fd = -1; /*    data connection to the xcs server. */
-static u32 xcs_session_id = 0;
+static unsigned long  xcs_session_id = 0;
 
 static int xcs_ctrl_send(xcs_msg_t *msg);
 static int xcs_ctrl_read(xcs_msg_t *msg);
diff -Nru a/tools/xcs/xcs_proto.h b/tools/xcs/xcs_proto.h
--- a/tools/xcs/xcs_proto.h     2005-06-14 10:02:23 -04:00
+++ b/tools/xcs/xcs_proto.h     2005-06-14 10:02:23 -04:00
@@ -40,7 +40,7 @@
 #define TYPE_VIRQ      0xfffe
 
 typedef struct {
-    u32 session_id;
+    unsigned long  session_id;
 } xcs_connect_msg_t;
 
 typedef struct {

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