From ee82aebd10ba586d3380d6524eae98ee259b133c Mon Sep 17 00:00:00 2001 From: Carmelo Amoroso Date: Wed, 18 Jun 2008 17:16:06 +0000 Subject: News syscall wrappers from trunk --- libc/sysdeps/linux/common/remap_file_pages.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 libc/sysdeps/linux/common/remap_file_pages.c (limited to 'libc/sysdeps/linux/common/remap_file_pages.c') diff --git a/libc/sysdeps/linux/common/remap_file_pages.c b/libc/sysdeps/linux/common/remap_file_pages.c new file mode 100644 index 000000000..2af53a32e --- /dev/null +++ b/libc/sysdeps/linux/common/remap_file_pages.c @@ -0,0 +1,16 @@ +/* + * remap_file_pages() for uClibc + * + * Copyright (C) 2008 Will Newton + * + * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. + */ +#include +#include + +#ifdef __NR_remap_file_pages + +_syscall5(int, remap_file_pages, void *, __start, size_t, __size, + int, __prot, size_t, __pgoff, int, __flags); + +#endif -- cgit v1.2.3