From: Eric B Munson <ebmunson@us.ibm.com>
To: linux-kernel@vger.kernel.org, linux-mm@kvack.org,
akpm@linux-foundation.org
Cc: rdunlap@xenotime.net, michael@ellerman.id.au,
ralf@linux-mips.org, wli@holomorphy.com, mel@csn.ul.ie,
dhowells@redhat.com, arnd@arndb.de, fengguang.wu@intel.com,
shuber2@gmail.com, hugh.dickins@tiscali.co.uk, zohar@us.ibm.com,
hugh@veritas.com, mtk.manpages@gmail.com, chris@zankel.net,
linux-man@vger.kernel.org, linux-doc@vger.kernel.org,
linux-alpha@vger.kernel.org, linux-mips@linux-mips.org,
linux-parisc@vger.kernel.org, linux-arch@vger.kernel.org,
Eric B Munson <ebmunson@us.ibm.com>
Subject: [PATCH 6/7] Add MAP_HUGETLB flag to parisc mman.h
Date: Fri, 18 Sep 2009 06:21:52 -0600 [thread overview]
Message-ID: <309744fd80915ce157aa90dbb807101f61b1f334.1253272709.git.ebmunson@us.ibm.com> (raw)
In-Reply-To: <d8e315b04749f73765e61eb7e4cbbaed2b946dfd.1253272709.git.ebmunson@us.ibm.com>
In-Reply-To: <cover.1253272709.git.ebmunson@us.ibm.com>
Even though parisc does not support huge pages this flag needs to
be defined here to keep the compiler happy. This is because
parisc does not make use of mman-common.h, so any flags defined
there and used in common code need to be added to parisc's mman.h
manually.
Signed-off-by: Eric B Munson <ebmunson@us.ibm.com>
---
arch/parisc/include/asm/mman.h | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/arch/parisc/include/asm/mman.h b/arch/parisc/include/asm/mman.h
index defe752..7563d0c 100644
--- a/arch/parisc/include/asm/mman.h
+++ b/arch/parisc/include/asm/mman.h
@@ -58,4 +58,11 @@
#define MAP_FILE 0
#define MAP_VARIABLE 0
+/*
+ * This flag is included even though huge pages are not supported because
+ * the flag is defined in mman-common.h and used in common vm code but
+ * mman-common.h is not included here
+ */
+#define MAP_HUGETLB 0x080000
+
#endif /* __PARISC_MMAN_H__ */
--
1.6.3.2
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2009-09-18 12:22 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-18 12:21 [PATCH 0/7] Add pseudo-anonymous huge page mappings V3 Eric B Munson
2009-09-18 12:21 ` [PATCH 1/7] hugetlbfs: Allow the creation of files suitable for MAP_PRIVATE on the vfs internal mount Eric B Munson
2009-09-18 12:21 ` [PATCH 2/7] Add MAP_HUGETLB for mmaping pseudo-anonymous huge page regions Eric B Munson
2009-09-18 12:21 ` [PATCH 3/7] Add MAP_HUGETLB example Eric B Munson
2009-09-18 12:21 ` [PATCH 4/7] Add MAP_HUGETLB flag to alpha mman.h Eric B Munson
2009-09-18 12:21 ` [PATCH 5/7] Add MAP_HUGETLB flag to xtensa mman.h Eric B Munson
2009-09-18 12:21 ` Eric B Munson [this message]
2009-09-18 12:21 ` [PATCH 7/7] Add MAP_HUGETLB flag to mips mman.h Eric B Munson
2009-09-18 20:08 ` [PATCH 2/7] Add MAP_HUGETLB for mmaping pseudo-anonymous huge page regions David Rientjes
2009-09-18 12:37 ` [PATCH 1/7] hugetlbfs: Allow the creation of files suitable for MAP_PRIVATE on the vfs internal mount Eric B Munson
2009-09-18 20:06 ` David Rientjes
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=309744fd80915ce157aa90dbb807101f61b1f334.1253272709.git.ebmunson@us.ibm.com \
--to=ebmunson@us.ibm.com \
--cc=akpm@linux-foundation.org \
--cc=arnd@arndb.de \
--cc=chris@zankel.net \
--cc=dhowells@redhat.com \
--cc=fengguang.wu@intel.com \
--cc=hugh.dickins@tiscali.co.uk \
--cc=hugh@veritas.com \
--cc=linux-alpha@vger.kernel.org \
--cc=linux-arch@vger.kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-man@vger.kernel.org \
--cc=linux-mips@linux-mips.org \
--cc=linux-mm@kvack.org \
--cc=linux-parisc@vger.kernel.org \
--cc=mel@csn.ul.ie \
--cc=michael@ellerman.id.au \
--cc=mtk.manpages@gmail.com \
--cc=ralf@linux-mips.org \
--cc=rdunlap@xenotime.net \
--cc=shuber2@gmail.com \
--cc=wli@holomorphy.com \
--cc=zohar@us.ibm.com \
/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