svn commit: branches/uClibc_0_9_29/libc/sysdeps/linux/common

vapier at uclibc.org vapier at uclibc.org
Sat Jan 5 09:30:00 PST 2008


Author: vapier
Date: 2008-01-05 09:30:00 -0800 (Sat, 05 Jan 2008)
New Revision: 20755

Log:
Merge r19162 by vda from trunk:
include/sys/mman.h says that msync exists only on MMU.
Make msync.c agree on this.


Modified:
   branches/uClibc_0_9_29/libc/sysdeps/linux/common/msync.c


Changeset:
Modified: branches/uClibc_0_9_29/libc/sysdeps/linux/common/msync.c
===================================================================
--- branches/uClibc_0_9_29/libc/sysdeps/linux/common/msync.c	2008-01-05 17:29:47 UTC (rev 20754)
+++ branches/uClibc_0_9_29/libc/sysdeps/linux/common/msync.c	2008-01-05 17:30:00 UTC (rev 20755)
@@ -14,9 +14,13 @@
 
 #include <sys/mman.h>
 
+#ifdef __ARCH_USE_MMU__
+
 extern __typeof(msync) __libc_msync;
 #define __NR___libc_msync __NR_msync
 _syscall3(int, __libc_msync, void *, addr, size_t, length, int, flags);
 weak_alias(__libc_msync,msync)
 
 #endif
+
+#endif



More information about the uClibc-cvs mailing list