diff options
author | fche <fche> | 2007-09-25 19:22:29 +0000 |
---|---|---|
committer | fche <fche> | 2007-09-25 19:22:29 +0000 |
commit | 14132a5eb855778cfe855256ff024b05a01cc9fb (patch) | |
tree | 271763ff8a8cac8bcf659269a14fbe3467b681bf | |
parent | 67aee26b72a2659b19db9a27a062a956c6d5d7a0 (diff) | |
download | systemtap-steved-14132a5eb855778cfe855256ff024b05a01cc9fb.tar.gz systemtap-steved-14132a5eb855778cfe855256ff024b05a01cc9fb.tar.xz systemtap-steved-14132a5eb855778cfe855256ff024b05a01cc9fb.zip |
* build fix on rhel4
2007-09-25 Frank Ch. Eigler <fche@elastic.org>
* socket.stp (__i2n_ip_proto): Add a cast for 32-bit compatibility.
-rw-r--r-- | tapset/ChangeLog | 4 | ||||
-rw-r--r-- | tapset/nfs_proc.stp | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/tapset/ChangeLog b/tapset/ChangeLog index feabc0bf..5cd5a6d5 100644 --- a/tapset/ChangeLog +++ b/tapset/ChangeLog @@ -1,5 +1,9 @@ 2007-09-25 Frank Ch. Eigler <fche@elastic.org> + * socket.stp (__i2n_ip_proto): Add a cast for 32-bit compatibility. + +2007-09-25 Frank Ch. Eigler <fche@elastic.org> + * signal.stp (_signal.send.part*): Remove sinfo alias variable, since it's a struct rather than integral value. diff --git a/tapset/nfs_proc.stp b/tapset/nfs_proc.stp index dd46544f..3ccd016b 100644 --- a/tapset/nfs_proc.stp +++ b/tapset/nfs_proc.stp @@ -41,7 +41,7 @@ */ function __i2n_ip_proto :long(dir:long,index:long) %{ /* pure */ int index = (int) (THIS->index); - struct inode * dir = (struct inode *)(THIS->dir); + struct inode * dir = (struct inode *)(uintptr_t)(THIS->dir); struct rpc_clnt * clnt = NFS_CLIENT(dir); /* FIXME: deref hazard! */ struct rpc_xprt * cl_xprt = kread(&(clnt->cl_xprt)); /* sockaddr_storage is used since 2.6.19. Need cast*/ |