DEVEL15-linux-warning-reduction-20090318
[openafs.git] / src / afs / LINUX / osi_syscall.c
index 03dfcd2..5be011a 100644 (file)
@@ -56,9 +56,9 @@ RCSID
 
 #if defined(AFS_S390X_LINUX24_ENV) 
 #define INSERT_SYSCALL(SLOT, TMPPAGE, FUNC) \
-       if (POINTER2SYSCALL FUNC > 0x7fffffff) { \
+       if (SYSCALL2POINTER FUNC > 0x7fffffff) { \
            TMPPAGE = kmalloc ( PAGE_SIZE, GFP_DMA|GFP_KERNEL );        \
-           if (POINTER2SYSCALL TMPPAGE > 0x7fffffff) { \
+           if (SYSCALL2POINTER TMPPAGE > 0x7fffffff) { \
                printf("Cannot allocate page for FUNC syscall jump vector\n"); \
                return EINVAL; \
            } \
@@ -105,11 +105,11 @@ uint32_t syscall_jump_code[] = {
 };
 #endif
 
-extern long afs_xsetgroups();
+extern long afs_xsetgroups(int gidsetsize, gid_t * grouplist);
 asmlinkage long (*sys_setgroupsp) (int gidsetsize, gid_t * grouplist);
 
 #ifdef AFS_LINUX24_ENV
-extern int afs_xsetgroups32();
+extern int afs_xsetgroups32(int gidsetsize, gid_t * grouplist);
 asmlinkage int (*sys_setgroups32p) (int gidsetsize,
                                    __kernel_gid32_t * grouplist);
 #endif