[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <523E6274.3030602@asianux.com>
Date: Sun, 22 Sep 2013 11:22:28 +0800
From: Chen Gang <gang.chen@...anux.com>
To: "vgupta@...opsys.com" <vgupta@...opsys.com>
CC: Arnd Bergmann <arnd@...db.de>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: [PATCH] arc: include: asm: uaccess.h: include "asm-generic/uaccess-unaligned.h"
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@...anux.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists