direct-io.hg

changeset 5451:1696560591a6

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>
author arun.sharma@intel.com[kaf24]
date Tue Jun 14 13:06:33 2005 +0000 (2005-06-14)
parents 066293b6c029
children 9a502087e263
files tools/python/xen/lowlevel/xu/xu.c tools/xcs/xcs_proto.h
line diff
     1.1 --- a/tools/python/xen/lowlevel/xu/xu.c	Mon Jun 13 22:51:02 2005 +0000
     1.2 +++ b/tools/python/xen/lowlevel/xu/xu.c	Tue Jun 14 13:06:33 2005 +0000
     1.3 @@ -72,7 +72,7 @@ static void set_cloexec(int fd)
     1.4  
     1.5  static int xcs_ctrl_fd = -1; /* control connection to the xcs server. */
     1.6  static int xcs_data_fd = -1; /*    data connection to the xcs server. */
     1.7 -static u32 xcs_session_id = 0;
     1.8 +static unsigned long  xcs_session_id = 0;
     1.9  
    1.10  static int xcs_ctrl_send(xcs_msg_t *msg);
    1.11  static int xcs_ctrl_read(xcs_msg_t *msg);
     2.1 --- a/tools/xcs/xcs_proto.h	Mon Jun 13 22:51:02 2005 +0000
     2.2 +++ b/tools/xcs/xcs_proto.h	Tue Jun 14 13:06:33 2005 +0000
     2.3 @@ -40,7 +40,7 @@
     2.4  #define TYPE_VIRQ      0xfffe
     2.5  
     2.6  typedef struct {
     2.7 -    u32 session_id;
     2.8 +    unsigned long  session_id;
     2.9  } xcs_connect_msg_t;
    2.10  
    2.11  typedef struct {