In message <[EMAIL PROTECTED]
>It's not safe to be included as-is, because it undoes the SYSCALL2POINTER
>stuff. I'm looking at it now though

only on the ia64 actually.  i was getting warnings about casts and 
comparisons so i changed fptr so its more like the rest of the linux
platforms, and then ia64 doesnt need a special syscall2pointer:

Index: src/afs/LINUX/osi_module.c
===================================================================
RCS file: /cvs/openafs/src/afs/LINUX/osi_module.c,v
retrieving revision 1.19
diff -u -d -b -w -r1.19 osi_module.c
--- src/afs/LINUX/osi_module.c  2002/04/23 03:03:35     1.19
+++ src/afs/LINUX/osi_module.c  2002/04/23 11:59:33
@@ -139,7 +139,7 @@
 
 struct fptr
 {
-       unsigned long ip;
+       void *ip;
        unsigned long gp;
 };
 
@@ -154,11 +154,7 @@
 #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)
_______________________________________________
OpenAFS-devel mailing list
[EMAIL PROTECTED]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to