summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen Gang <gang.chen@asianux.com>2013-07-03 15:00:42 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-07-21 18:21:29 -0700
commit14a1d6afc622566a7dcb961a183010ec83bea009 (patch)
tree9bde64af9766bc0b28df0fc44650d21938e106f2
parentf7019bfd8c1cc896f194009dff643fc73eefdd74 (diff)
downloadlinux-3.10-14a1d6afc622566a7dcb961a183010ec83bea009.tar.gz
linux-3.10-14a1d6afc622566a7dcb961a183010ec83bea009.tar.bz2
linux-3.10-14a1d6afc622566a7dcb961a183010ec83bea009.zip
arch: c6x: mm: include "asm/uaccess.h" to pass compiling
commit fe74650166dd6905b0cf66594eb79222dc9d7109 upstream. Need include "asm/uaccess.h" to pass compiling. The related error (with allmodconfig): arch/c6x/mm/init.c: In function `paging_init': arch/c6x/mm/init.c:46:2: error: implicit declaration of function `set_fs' [-Werror=implicit-function-declaration] arch/c6x/mm/init.c:46:9: error: `KERNEL_DS' undeclared (first use in this function) arch/c6x/mm/init.c:46:9: note: each undeclared identifier is reported only once for each function it appears in Signed-off-by: Chen Gang <gang.chen@asianux.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--arch/c6x/mm/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/c6x/mm/init.c b/arch/c6x/mm/init.c
index a9fcd89b251..b74ccb5a769 100644
--- a/arch/c6x/mm/init.c
+++ b/arch/c6x/mm/init.c
@@ -18,6 +18,7 @@
#include <linux/initrd.h>
#include <asm/sections.h>
+#include <asm/uaccess.h>
/*
* ZERO_PAGE is a special page that is used for zero-initialized