]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
2000-02-05 Andreas Jaeger <aj@suse.de>
authorAndreas Jaeger <aj@suse.de>
Sat, 5 Feb 2000 07:45:59 +0000 (07:45 +0000)
committerAndreas Jaeger <aj@suse.de>
Sat, 5 Feb 2000 07:45:59 +0000 (07:45 +0000)
* sysdeps/unix/sysv/linux/mips/bits/mman.h (MS_SYNC): 0 will not
work - set to 4 in accordance with changes made in the Linux/MIPS
kernel.  Using MS_SYNC on older kernels with MS_SYNC == 0 doesn't
actually work.

sysdeps/unix/sysv/linux/mips/bits/mman.h

index 63c8b747f8370f1f25dd896cd822878e3d296db4..5b8c752ccd018e7968ebf380a0095e800579e29c 100644 (file)
@@ -61,8 +61,8 @@
 
 /* Flags to `msync'.  */
 #define MS_ASYNC       1               /* Sync memory asynchronously.  */
-#define MS_SYNC                0               /* Synchronous memory sync.  */
 #define MS_INVALIDATE  2               /* Invalidate the caches.  */
+#define MS_SYNC                4               /* Synchronous memory sync.  */
 
 /* Flags for `mlockall'.  */
 #define MCL_CURRENT    1               /* Lock all currently mapped pages.  */