From: Ben Hutchings <ben@decadent.org.uk>
To: linux-ia64@vger.kernel.org
Subject: [PATCH] ia64: Include <linux/personality.h> header in <asm/fcntl.h>
Date: Sat, 19 Dec 2009 16:25:43 +0000 [thread overview]
Message-ID: <1261239943.2418.95.camel@localhost> (raw)
The definition of force_o_largefile() references personality, but this
header does not include <linux/personality.h>. This happens to work
for sys_open(), but may not for any other users. In particular, aufs2
now uses this macro and so fails to build on ia64.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
---
arch/ia64/include/asm/fcntl.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/ia64/include/asm/fcntl.h b/arch/ia64/include/asm/fcntl.h
index 1dd275d..3cac8f9 100644
--- a/arch/ia64/include/asm/fcntl.h
+++ b/arch/ia64/include/asm/fcntl.h
@@ -5,6 +5,8 @@
* David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co.
*/
+#include <linux/personality.h>
+
#define force_o_largefile() \
(personality(current->personality) != PER_LINUX32)
--
1.6.5.7
next reply other threads:[~2009-12-19 16:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-19 16:25 Ben Hutchings [this message]
2009-12-21 0:36 ` [PATCH] ia64: Include <linux/personality.h> header in Christoph Hellwig
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=1261239943.2418.95.camel@localhost \
--to=ben@decadent.org.uk \
--cc=linux-ia64@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