svn commit: trunk/uClibc/libc/sysdeps/linux/common

carmelo at uclibc.org carmelo at uclibc.org
Fri Mar 21 07:18:48 UTC 2008


Author: carmelo
Date: 2008-03-21 00:18:47 -0700 (Fri, 21 Mar 2008)
New Revision: 21429

Log:
Add rempa_file_pages function by Will Newton <will.newton at imgtec.com>

Added:
   trunk/uClibc/libc/sysdeps/linux/common/remap_file_pages.c


Changeset:
Added: trunk/uClibc/libc/sysdeps/linux/common/remap_file_pages.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/remap_file_pages.c	                        (rev 0)
+++ trunk/uClibc/libc/sysdeps/linux/common/remap_file_pages.c	2008-03-21 07:18:47 UTC (rev 21429)
@@ -0,0 +1,16 @@
+/*
+ * remap_file_pages() for uClibc
+ *
+ * Copyright (C) 2008 Will Newton <will.newton at imgtec.com>
+ *
+ * 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




More information about the uClibc-cvs mailing list