]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Define MAP_HUGETLB.
authorUlrich Drepper <drepper@redhat.com>
Fri, 19 Nov 2010 14:35:39 +0000 (09:35 -0500)
committerUlrich Drepper <drepper@redhat.com>
Fri, 19 Nov 2010 14:35:39 +0000 (09:35 -0500)
ChangeLog
sysdeps/unix/sysv/linux/i386/bits/mman.h
sysdeps/unix/sysv/linux/x86_64/bits/mman.h

index 3e0ac9ee1063f19c79387fbf38528db785e4f365..124dd4c9d75b432aaeca39562f431ff16df44bc7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-11-19  Ulrich Drepper  <drepper@gmail.com>
+
+       * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
+       * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
+
 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
 
        * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
index 22aa401e021457019f118ac8656bdbafad985320..7ac1aff08b8f622147c322876a671c956ab71221 100644 (file)
@@ -1,5 +1,6 @@
 /* Definitions for POSIX memory map interface.  Linux/i386 version.
-   Copyright (C) 1997,2000,2003,2005,2006,2009 Free Software Foundation, Inc.
+   Copyright (C) 1997,2000,2003,2005,2006,2009,2010
+   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
@@ -64,6 +65,7 @@
 # define MAP_POPULATE  0x08000         /* Populate (prefault) pagetables.  */
 # define MAP_NONBLOCK  0x10000         /* Do not block on IO.  */
 # define MAP_STACK     0x20000         /* Allocation is for a stack.  */
+# define MAP_HUGETLB   0x40000         /* Create huge page mapping.  */
 #endif
 
 /* Flags to `msync'.  */
index 3dcbf9c3178052132c0722694cab6f1cdb4fa716..6f3ad0de4f2fb50d2ae482c230eec22fa3387bc9 100644 (file)
@@ -1,5 +1,5 @@
 /* Definitions for POSIX memory map interface.  Linux/x86_64 version.
-   Copyright (C) 2001, 2003, 2005, 2006, 2009 Free Software Foundation, Inc.
+   Copyright (C) 2001,2003,2005,2006,2009,2010 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
@@ -65,6 +65,7 @@
 # define MAP_POPULATE  0x08000         /* Populate (prefault) pagetables.  */
 # define MAP_NONBLOCK  0x10000         /* Do not block on IO.  */
 # define MAP_STACK     0x20000         /* Allocation is for a stack.  */
+# define MAP_HUGETLB   0x40000         /* Create huge page mapping.  */
 #endif
 
 /* Flags to `msync'.  */