summaryrefslogtreecommitdiffstats
path: root/Documentation/vm/map_hugetlb.c
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/vm/map_hugetlb.c')
-rw-r--r--Documentation/vm/map_hugetlb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/vm/map_hugetlb.c b/Documentation/vm/map_hugetlb.c
index 9969c7d..eda1a6d 100644
--- a/Documentation/vm/map_hugetlb.c
+++ b/Documentation/vm/map_hugetlb.c
@@ -19,7 +19,7 @@
#define PROTECTION (PROT_READ | PROT_WRITE)
#ifndef MAP_HUGETLB
-#define MAP_HUGETLB 0x40
+#define MAP_HUGETLB 0x40000 /* arch specific */
#endif
/* Only ia64 requires this */
OpenPOWER on IntegriCloud