From 35a57855bac4b2c40ac42788b49613d6c4ad842a Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 13 May 2004 05:53:37 +0000 Subject: Add define for SHM_HUGETLB --- libc/sysdeps/linux/common/bits/shm.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libc/sysdeps') 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; -- cgit v1.2.3