git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
5d57da1
)
linux-ia64-cleanup-casting-20020423
author
Chas Williams
<chas@cmf.nrl.navy.mil>
Tue, 23 Apr 2002 14:45:51 +0000 (14:45 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Tue, 23 Apr 2002 14:45:51 +0000 (14:45 +0000)
so we don't need the SYSCALL2POINTER change
src/afs/LINUX/osi_module.c
patch
|
blob
|
history
diff --git
a/src/afs/LINUX/osi_module.c
b/src/afs/LINUX/osi_module.c
index
fecb72c
..
74f8514
100644
(file)
--- a/
src/afs/LINUX/osi_module.c
+++ b/
src/afs/LINUX/osi_module.c
@@
-139,7
+139,7
@@
unsigned char *afs_syscall_stub, *afs_xsetgroups_stub;
struct fptr
{
- unsigned long ip;
+ void *ip;
unsigned long gp;
};
@@
-154,12
+154,8
@@
asmlinkage int (*sys_setgroups32p)(int gidsetsize, __kernel_gid32_t *grouplist);
#define SYSCALL2POINTER (void *)(long)
#else
#define POINTER2SYSCALL (void *)
-#ifdef AFS_IA64_LINUX20_ENV
-#define SYSCALL2POINTER (long)
-#else
#define SYSCALL2POINTER (void *)
#endif
-#endif
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0)
int __init afs_init(void)