aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-02-05 07:46:32 +0000
committerAndreas Jaeger <aj@suse.de>2000-02-05 07:46:32 +0000
commit9359483248843b91fecd86cf72ddeabbe941d566 (patch)
tree9c3b128592b3ff09a2e33e64daacdc29956ad578 /sysdeps/unix/sysv/linux
parentdd569f04b97ba100dc6bcc6da7d87b9be24daa81 (diff)
downloadglibc-9359483248843b91fecd86cf72ddeabbe941d566.tar
glibc-9359483248843b91fecd86cf72ddeabbe941d566.tar.gz
glibc-9359483248843b91fecd86cf72ddeabbe941d566.tar.bz2
glibc-9359483248843b91fecd86cf72ddeabbe941d566.zip
Update.
2000-02-05 Andreas Jaeger <aj@suse.de> * 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.
Diffstat (limited to 'sysdeps/unix/sysv/linux')
-rw-r--r--sysdeps/unix/sysv/linux/mips/bits/mman.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/mips/bits/mman.h b/sysdeps/unix/sysv/linux/mips/bits/mman.h
index 0efbab2f21..5b8c752ccd 100644
--- a/sysdeps/unix/sysv/linux/mips/bits/mman.h
+++ b/sysdeps/unix/sysv/linux/mips/bits/mman.h
@@ -1,4 +1,4 @@
-/* Definitions for POSIX memory map interface. Linux/PowerPC version.
+/* Definitions for POSIX memory map interface. Linux/MIPS version.
Copyright (C) 1997, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
@@ -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. */