about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/powerpc/bits
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-01-17 18:24:59 -0500
committerUlrich Drepper <drepper@gmail.com>2011-01-17 18:24:59 -0500
commit32465c3ea007065acd8ca8199f130cdf4068130d (patch)
treed61988ce8c07da69b18bd21620cbb863cff3a614 /sysdeps/unix/sysv/linux/powerpc/bits
parentc0dafcf1765e613caf91781c4f1d697e2387f7f4 (diff)
downloadglibc-32465c3ea007065acd8ca8199f130cdf4068130d.tar.gz
glibc-32465c3ea007065acd8ca8199f130cdf4068130d.tar.xz
glibc-32465c3ea007065acd8ca8199f130cdf4068130d.zip
Define MADV_HUGEPAGE.
Diffstat (limited to 'sysdeps/unix/sysv/linux/powerpc/bits')
-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