Hi,
The attached patch adds the remap_file_pages syscall to uClibc.
Index: libc/sysdeps/linux/common/remap_file_pages.c =================================================================== RCS file: libc/sysdeps/linux/common/remap_file_pages.c diff -N libc/sysdeps/linux/common/remap_file_pages.c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ libc/sysdeps/linux/common/remap_file_pages.c 19 Mar 2008 11:25:18 -0000 @@ -0,0 +1,16 @@ +/* + * remap_file_pages() for uClibc + * + * Copyright (C) 2008 Will Newton <[EMAIL PROTECTED]> + * + * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. + */ + +#include <sys/syscall.h> + +#ifdef __NR_remap_file_pages + +_syscall5(int, remap_file_pages, unsigned long, start, unsigned long, size, + unsigned long, prot, unsigned long, pgoff, unsigned long, flags); + +#endif
_______________________________________________ uClibc mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/uclibc
