summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/sh
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-03-13 09:56:29 +0000
committerRoland McGrath <roland@gnu.org>2005-03-13 09:56:29 +0000
commit0866e1cb398754c60b4ee0e5bd76055b4bcfd88c (patch)
treeb8e9af13cd5b2a8e8313dba8242443a5b3e7ee9c /sysdeps/unix/sysv/linux/sh
parentaf81020e98934823e8a67fd1c8477b081e167e92 (diff)
* sysdeps/unix/sysv/linux/sh/bits/mman.h: Define MAP_POPULATE and
MAP_NONBLOCK. * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise. Correct MAP_GROWSDOWN value.
Diffstat (limited to 'sysdeps/unix/sysv/linux/sh')
-rw-r--r--sysdeps/unix/sysv/linux/sh/bits/mman.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/sh/bits/mman.h b/sysdeps/unix/sysv/linux/sh/bits/mman.h
index 673c7295fb..656b5b673b 100644
--- a/sysdeps/unix/sysv/linux/sh/bits/mman.h
+++ b/sysdeps/unix/sysv/linux/sh/bits/mman.h
@@ -1,5 +1,5 @@
/* Definitions for POSIX memory map interface. Linux/SH version.
- Copyright (C) 1997, 1999, 2000, 2003 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1999, 2000, 2003, 2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -61,6 +61,8 @@
# define MAP_EXECUTABLE 0x1000 /* Mark it as an executable. */
# define MAP_LOCKED 0x2000 /* Lock the mapping. */
# define MAP_NORESERVE 0x4000 /* Don't check for reservations. */
+# define MAP_POPULATE 0x8000 /* Populate (prefault) pagetables. */
+# define MAP_NONBLOCK 0x10000 /* Do not block on IO. */
#endif
/* Flags to `msync'. */