summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-05-13 05:53:37 +0000
committerEric Andersen <andersen@codepoet.org>2004-05-13 05:53:37 +0000
commit35a57855bac4b2c40ac42788b49613d6c4ad842a (patch)
treee9d82b17d03f86b8b3f298d9bd617c7861bb848e /libc/sysdeps
parent2059409892620b5b84c65ce7939f9ca423be43de (diff)
Add define for SHM_HUGETLB
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/common/bits/shm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/bits/shm.h b/libc/sysdeps/linux/common/bits/shm.h
index 6edc6763d..b5f4ddfc0 100644
--- a/libc/sysdeps/linux/common/bits/shm.h
+++ b/libc/sysdeps/linux/common/bits/shm.h
@@ -71,6 +71,7 @@ struct shmid_ds {
/* shm_mode upper byte flags */
# define SHM_DEST 01000 /* segment will be destroyed on last detach */
# define SHM_LOCKED 02000 /* segment will not be swapped */
+# define SHM_HUGETLB 04000 /* segment is mapped via hugetlb */
struct shminfo {
int shmmax;