linux-syscall-asmlinkage-20040621
authorRainer Schöpf <rainer.schoepf@proteosys.com>
Mon, 21 Jun 2004 22:46:17 +0000 (22:46 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 21 Jun 2004 22:46:17 +0000 (22:46 +0000)
FIXES 5138

deal with asmlinkage for CONFIG_REGPARM, so afs syscall prototype matches declaration

src/afs/LINUX/osi_module.c

index cb1c425..f864a0c 100644 (file)
@@ -155,6 +155,9 @@ afsproc_exit()
     remove_proc_entry(PROC_FSDIRNAME, proc_root_fs);
 }
 
+extern asmlinkage long
+afs_syscall(long syscall, long parm1, long parm2, long parm3, long parm4);
+
 static int
 afs_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
          unsigned long arg)
@@ -231,7 +234,6 @@ init_module(void)
     unsigned long kernel_gp = 0;
     static struct fptr sys_setgroups;
 #endif /* defined(AFS_IA64_LINUX20_ENV) */
-    extern int afs_syscall();
     extern long afs_xsetgroups();
 #if defined(__NR_setgroups32)
     extern int afs_xsetgroups32();