about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/powerpc/bits/mman.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-01-17 18:24:59 -0500
committerPetr Baudis <pasky@suse.cz>2011-02-03 23:13:16 +0100
commita525e031857369e40e09e0123a75bd530565421a (patch)
treec18d2cc1c5a7de869d67a7a92427ffd65383444c /sysdeps/unix/sysv/linux/powerpc/bits/mman.h
parent7928c812d37df5608048c59d44159fdaca021d4e (diff)
downloadglibc-a525e031857369e40e09e0123a75bd530565421a.tar.gz
glibc-a525e031857369e40e09e0123a75bd530565421a.tar.xz
glibc-a525e031857369e40e09e0123a75bd530565421a.zip
Define MADV_HUGEPAGE.
(cherry picked from commit 32465c3ea007065acd8ca8199f130cdf4068130d)
Diffstat (limited to 'sysdeps/unix/sysv/linux/powerpc/bits/mman.h')
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/bits/mman.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/bits/mman.h b/sysdeps/unix/sysv/linux/powerpc/bits/mman.h
index e6580f8220..41a3180e7b 100644
--- a/sysdeps/unix/sysv/linux/powerpc/bits/mman.h
+++ b/sysdeps/unix/sysv/linux/powerpc/bits/mman.h
@@ -1,5 +1,5 @@
 /* Definitions for POSIX memory map interface.  Linux/PowerPC version.
-   Copyright (C) 1997,2000,2003,2005,2006,2008,2009
+   Copyright (C) 1997,2000,2003,2005,2006,2008,2009,2011
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -96,6 +96,7 @@
 # define MADV_DOFORK	  11	/* Do inherit across fork.  */
 # define MADV_MERGEABLE	  12	/* KSM may merge identical pages.  */
 # define MADV_UNMERGEABLE 13	/* KSM may not merge identical pages.  */
+# define MADV_HUGEPAGE	  14	/* Worth backing with hugepages.  */
 # define MADV_HWPOISON	  100	/* Poison a page for testing.  */
 #endif