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] [PATCH] 64-session-id.patch

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [PATCH] 64-session-id.patch
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Tue, 14 Jun 2005 13:06:33 +0000
Delivery-date: Tue, 14 Jun 2005 14:01:20 +0000
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/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: Xen Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [PATCH] 64-session-id.patch, BitKeeper Bot <=