linux-ia64-cleanup-casting-20020423
authorChas Williams <chas@cmf.nrl.navy.mil>
Tue, 23 Apr 2002 14:45:51 +0000 (14:45 +0000)
committerDerrick 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

index fecb72c..74f8514 100644 (file)
@@ -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)