From: Chen Gang <gang.chen@asianux.com>
To: "vgupta@synopsys.com" <vgupta@synopsys.com>
Cc: Arnd Bergmann <arnd@arndb.de>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: [PATCH] arc: include: asm: uaccess.h: include "asm-generic/uaccess-unaligned.h"
Date: Sun, 22 Sep 2013 11:22:28 +0800 [thread overview]
Message-ID: <523E6274.3030602@asianux.com> (raw)
Need include the default implementation, just like another platforms
(e.g. parisc, tile ...), or can not pass compiling.
The related error (with allmodconfig for arc):
CC [M] fs/btrfs/ioctl.o
fs/btrfs/ioctl.c: In function ‘btrfs_ioctl_file_extent_same’:
fs/btrfs/ioctl.c:2802: error: implicit declaration of function ‘__put_user_unaligned’
Signed-off-by: Chen Gang <gang.chen@asianux.com>
---
arch/arc/include/asm/uaccess.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/arc/include/asm/uaccess.h b/arch/arc/include/asm/uaccess.h
index 3242082..8a2721f 100644
--- a/arch/arc/include/asm/uaccess.h
+++ b/arch/arc/include/asm/uaccess.h
@@ -27,6 +27,7 @@
#include <linux/sched.h>
#include <asm/errno.h>
#include <linux/string.h> /* for generic string functions */
+#include <asm-generic/uaccess-unaligned.h>
#define __kernel_ok (segment_eq(get_fs(), KERNEL_DS))
--
1.7.7.6
next reply other threads:[~2013-09-22 3:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-22 3:22 Chen Gang [this message]
2013-09-23 8:07 ` [PATCH] arc: include: asm: uaccess.h: include "asm-generic/uaccess-unaligned.h" Vineet Gupta
2013-09-23 8:27 ` Chen Gang
2013-10-23 8:55 ` Chen Gang
2013-11-01 7:47 ` Vineet Gupta
2013-11-01 7:57 ` Chen Gang
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=523E6274.3030602@asianux.com \
--to=gang.chen@asianux.com \
--cc=arnd@arndb.de \
--cc=linux-kernel@vger.kernel.org \
--cc=vgupta@synopsys.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