From 89bbfb6bfbd4dae1ec29d6d4b3518c031b4f190c Mon Sep 17 00:00:00 2001 From: Carlo Marcelo Arenas Belon Date: Sun, 23 May 2010 17:02:30 -0700 Subject: Documentation/vm: use better value for MAP_HUGETLB documentation: slightly more correct value for MAP_HUGETLB in map_hugetlb.c still not correct for alpha, mips, parisc or xtensa but working out of the box in the most common architectures without having to deal with complicated macros or including architecture specific headers. Signed-off-by: Carlo Marcelo Arenas Belon Signed-off-by: Randy Dunlap Signed-off-by: Linus Torvalds --- Documentation/vm/map_hugetlb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Documentation/vm') diff --git a/Documentation/vm/map_hugetlb.c b/Documentation/vm/map_hugetlb.c index 9969c7d9f985..eda1a6d3578a 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 */ -- cgit v1.2.1