Skip to contentSkip to conversation

64-session-id.patch

PATCH New Arun Sharma 1 participant 1 message Jun 14, 2005 Arm/actions semi architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 64-session-id.patch

session_id is an opaque pointer, so should be wider on 64 bit platforms.

tools/python/xen/lowlevel/xu/xu.c +1 -1
@@ -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);
tools/xcs/xcs_proto.h +1 -1
@@ -40,7 +40,7 @@
 #define TYPE_VIRQ      0xfffe
 
 typedef struct {
-    u32 session_id;
+    unsigned long  session_id;
 } xcs_connect_msg_t;
 
 typedef struct {