mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-12 12:07:12 +08:00
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.
This commit is contained in:
parent
4cd50e5eb8
commit
22e908b01a
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user