From: Randy Dunlap <rdunlap@xenotime.net>
To: linux-kernel@vger.kernel.org
Cc: Carlo Marcelo Arenas Belon <carenas@sajinet.com.pe>
Subject: [PATCH 5/9] Documentation/vm: use better value for MAP_HUGETLB
Date: Sun, 23 May 2010 17:02:30 -0700 [thread overview]
Message-ID: <12746593503067@xenotime.net> (raw)
In-Reply-To: <12746593501290@xenotime.net>
From: Carlo Marcelo Arenas Belon <carenas@sajinet.com.pe>
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 <carenas@sajinet.com.pe>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
Documentation/vm/map_hugetlb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- lnx-2634-docs.orig/Documentation/vm/map_hugetlb.c
+++ lnx-2634-docs/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 */
--
next prev parent reply other threads:[~2010-05-24 0:08 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-24 0:02 [PATCH 1/9] docbook: make mtd nand module init static Randy Dunlap
2010-05-24 0:02 ` [PATCH 8/9] fusion: fix kernel-doc notation Randy Dunlap
2010-05-24 0:02 ` [PATCH 3/9] Documentation/development-process: add staging & mmotm info Randy Dunlap
2010-05-24 0:02 ` [PATCH 7/9] scsi_scan.c: fix/convert functions to use kernel-doc Randy Dunlap
2010-05-24 0:02 ` [PATCH 4/9] Documentation/timers/hpet_example: drop duplicate header files Randy Dunlap
2010-05-24 0:02 ` [PATCH 6/9] scsi: update torque.net references to current location Randy Dunlap
2010-05-24 0:02 ` Randy Dunlap [this message]
2010-05-24 0:02 ` [PATCH 9/9] Documentation: update SubmitChecklist for O=objdir and kconfig testing Randy Dunlap
2010-05-24 0:02 ` [PATCH 2/9] Documentation/development-process: add maintainers and git info Randy Dunlap
2010-05-24 0:10 ` [PATCH 1/9] docbook: make mtd nand module init static Randy Dunlap
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=12746593503067@xenotime.net \
--to=rdunlap@xenotime.net \
--cc=carenas@sajinet.com.pe \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).