aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorarun.sharma@intel.com[kaf24] <arun.sharma@intel.com[kaf24]>2005-06-14 13:06:33 +0000
committerarun.sharma@intel.com[kaf24] <arun.sharma@intel.com[kaf24]>2005-06-14 13:06:33 +0000
commit0e6cf5a2afd0b58a6538a85c47430e78f313ef2d (patch)
tree46973b6473b6d1d456bb613b2ef15906c0dca6f9 /tools
parent2d0fe9c80f2db0cce0318eb953a9ce732ba2b9b4 (diff)
downloadxen-0e6cf5a2afd0b58a6538a85c47430e78f313ef2d.tar.gz
xen-0e6cf5a2afd0b58a6538a85c47430e78f313ef2d.tar.bz2
xen-0e6cf5a2afd0b58a6538a85c47430e78f313ef2d.zip
bitkeeper revision 1.1713.1.8 (42aed659DzIwFCeaK8Cxa8ZpzbHR-Q)
[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@intel.com> Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/python/xen/lowlevel/xu/xu.c2
-rw-r--r--tools/xcs/xcs_proto.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/python/xen/lowlevel/xu/xu.c b/tools/python/xen/lowlevel/xu/xu.c
index 65660ba6dc..cd616e75bc 100644
--- a/tools/python/xen/lowlevel/xu/xu.c
+++ b/tools/python/xen/lowlevel/xu/xu.c
@@ -72,7 +72,7 @@ static void set_cloexec(int fd)
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 --git a/tools/xcs/xcs_proto.h b/tools/xcs/xcs_proto.h
index fa04621f40..7038467c90 100644
--- a/tools/xcs/xcs_proto.h
+++ b/tools/xcs/xcs_proto.h
@@ -40,7 +40,7 @@
#define TYPE_VIRQ 0xfffe
typedef struct {
- u32 session_id;
+ unsigned long session_id;
} xcs_connect_msg_t;
typedef struct {