Re: [PATCH] update $ARCH to match syscalls return long

Pete Zaitcev (zaitcev@redhat.com)
Thu, 3 Apr 2003 14:43:17 -0500


> Date: Thu, 3 Apr 2003 11:32:49 +0000
> From: "Randy.Dunlap" <rddunlap@osdl.org>

> --- ./arch/sparc/kernel/sys_sparc.c%SCPRL Mon Mar 24 14:00:17 2003
> +++ ./arch/sparc/kernel/sys_sparc.c Thu Apr 3 10:39:42 2003
> @@ -269,11 +269,11 @@
> return do_mmap2(addr, len, prot, flags, fd, off >> PAGE_SHIFT);
> }
>
> -extern int sys_remap_file_pages(unsigned long start, unsigned long size,
> +extern long sys_remap_file_pages(unsigned long start, unsigned long size,
> unsigned long prot, unsigned long pgoff,
> unsigned long flags);

I know for a fact that a global sys_remap_file_pages prototype
exists (in mm.h). It's better not to change it to match, but remove
extra copies from .c files. The sparc had it for about a week
(Rob Radez fixed it).

-- Pete
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/