From: Andreas Jaeger Date: Sat, 5 Feb 2000 07:45:59 +0000 (+0000) Subject: 2000-02-05 Andreas Jaeger X-Git-Tag: glibc-2.16-ports-before-merge~2693 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=22e908b01a91acc84a10b3032decbb60c6dccb0f;p=thirdparty%2Fglibc.git 2000-02-05 Andreas Jaeger * 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. --- diff --git a/sysdeps/unix/sysv/linux/mips/bits/mman.h b/sysdeps/unix/sysv/linux/mips/bits/mman.h index 63c8b747f83..5b8c752ccd0 100644 --- a/sysdeps/unix/sysv/linux/mips/bits/mman.h +++ b/sysdeps/unix/sysv/linux/mips/bits/mman.h @@ -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. */