From: Rainer Schöpf Date: Mon, 21 Jun 2004 22:46:17 +0000 (+0000) Subject: linux-syscall-asmlinkage-20040621 X-Git-Tag: openafs-devel-1_3_65~28 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=1c94ac6950f3943027023cce668b1cf15f8d5b41;p=packages%2Fo%2Fopenafs.git linux-syscall-asmlinkage-20040621 FIXES 5138 deal with asmlinkage for CONFIG_REGPARM, so afs syscall prototype matches declaration --- diff --git a/src/afs/LINUX/osi_module.c b/src/afs/LINUX/osi_module.c index cb1c425ab..f864a0c18 100644 --- a/src/afs/LINUX/osi_module.c +++ b/src/afs/LINUX/osi_module.c @@ -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();