lkml.org 
[lkml]   [2003]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] update $ARCH to match syscalls return long
> 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/

\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.109 / U:1.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site