All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] 64-session-id.patch
@ 2005-06-14  1:10 Arun Sharma
  0 siblings, 0 replies; only message in thread
From: Arun Sharma @ 2005-06-14  1:10 UTC (permalink / raw)
  To: Ian Pratt, Keir Fraser; +Cc: xen-devel

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

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>

--- a/tools/python/xen/lowlevel/xu/xu.c	Mon Jun 13 17:54:12 2005
+++ b/tools/python/xen/lowlevel/xu/xu.c	Mon Jun 13 18:06:14 2005
@@ -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);
--- a/tools/xcs/xcs_proto.h	Mon Jun 13 17:54:12 2005
+++ b/tools/xcs/xcs_proto.h	Mon Jun 13 18:06:14 2005
@@ -40,7 +40,7 @@
 #define TYPE_VIRQ      0xfffe
 
 typedef struct {
-    u32 session_id;
+    unsigned long  session_id;
 } xcs_connect_msg_t;
 
 typedef struct {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-06-14  1:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-14  1:10 [PATCH] 64-session-id.patch Arun Sharma

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.