[PATCH] mem: add missed MAP_HUGETLB mmap flag
Kirill A. Shutemov
kirill.shutemov at linux.intel.com
Thu Jan 2 11:15:32 UTC 2014
* mem.c (mmap_flags): Add MAP_HUGETLB mmap flag.
Signed-off-by: Kirill A. Shutemov <kirill.shutemov at linux.intel.com>
---
mem.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/mem.c b/mem.c
index ef273c7e62b5..2c51cc7d8224 100644
--- a/mem.c
+++ b/mem.c
@@ -159,6 +159,9 @@ static const struct xlat mmap_flags[] = {
#ifdef MAP_STACK
{ MAP_STACK, "MAP_STACK" },
#endif
+#ifdef MAP_HUGETLB
+ { MAP_HUGETLB, "MAP_HUGETLB" },
+#endif
#if defined MAP_UNINITIALIZED && MAP_UNINITIALIZED > 0
{ MAP_UNINITIALIZED,"MAP_UNINITIALIZED"},
#endif
--
1.8.5.2
More information about the Strace-devel
mailing list