+2018-10-01 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
+ (MREMAP_MAYMOVE): Do not define here.
+ [__USE_GNU] (MREMAP_FIXED): Likewise.
+ * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
+ (MREMAP_MAYMOVE): Define here instead.
+ [__USE_GNU] (MREMAP_FIXED): Likewise.
+ * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
+ (MREMAP_MAYMOVE): Remove.
+ [__USE_GNU] (MREMAP_FIXED): Likewise.
+
2018-09-28 Joseph Myers <joseph@codesourcery.com>
* math/fromfp.h: Do not include <math_private.h>.
#define MS_SYNC 4 /* Synchronous memory sync. */
#define MS_INVALIDATE 2 /* Invalidate the caches. */
-/* Flags for `mremap'. */
-#ifdef __USE_GNU
-# define MREMAP_MAYMOVE 1
-# define MREMAP_FIXED 2
-#endif
-
/* Advice to `madvise'. */
#ifdef __USE_MISC
# define MADV_NORMAL 0 /* No further special treatment. */
#define MCL_FUTURE 2 /* Lock all future mappings */
#define MCL_ONFAULT 4 /* Lock all pages that are faulted in */
-/* Flags for `mremap'. */
-#ifdef __USE_GNU
-# define MREMAP_MAYMOVE 1
-# define MREMAP_FIXED 2
-#endif
-
/* Advice to "madvise" */
#ifdef __USE_MISC
# define MADV_NORMAL 0 /* No further special treatment */