All of lore.kernel.org
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@xenotime.net>
To: linux-kernel@vger.kernel.org
Cc: Carlo Marcelo Arenas Belon <carenas@sajinet.com.pe>
Subject: [PATCH 6/10] Documentation/vm: use better value for MAP_HUGETLB
Date: Mon, 17 May 2010 16:21:11 -0700	[thread overview]
Message-ID: <1274138471652@xenotime.net> (raw)
In-Reply-To: <12741384711166@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 */


-- 


  parent reply	other threads:[~2010-05-17 23:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-17 23:21 [PATCH 0/10] documentation patch queue for 2.6.35 merge window Randy Dunlap
2010-05-17 23:21 ` [PATCH 1/10] docbook: make mtd nand module init static Randy Dunlap
2010-05-17 23:21 ` [PATCH 9/10] fusion: fix kernel-doc notation Randy Dunlap
2010-05-17 23:21 ` [PATCH 2/10] Documentation/development-process: add maintainers and git info Randy Dunlap
2010-05-17 23:21 ` [PATCH 5/10] Documentation/timers/hpet_example: drop duplicate header files Randy Dunlap
2010-05-17 23:21 ` [PATCH 4/10] Documentation/sysrq.txt: update KEY_SYSRQ info Randy Dunlap
2010-05-17 23:21 ` [PATCH 8/10] scsi_scan.c: fix/convert functions to use kernel-doc Randy Dunlap
2010-05-17 23:21 ` [PATCH 3/10] Documentation/development-process: add staging & mmotm info Randy Dunlap
2010-05-17 23:21 ` [PATCH 7/10] scsi: update torque.net references to current location Randy Dunlap
2010-05-17 23:21 ` Randy Dunlap [this message]
2010-05-17 23:21 ` [PATCH 10/10] Documentation: update SubmitChecklist for O=objdir and kconfig testing 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=1274138471652@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.