* [PATCH] arch: c6x: mm: include "asm/uaccess.h" to pass compiling
@ 2013-06-25 2:01 Chen Gang
0 siblings, 0 replies; only message in thread
From: Chen Gang @ 2013-06-25 2:01 UTC (permalink / raw)
To: msalter, a-jacquiot
Cc: Andrew Morton, jiang.liu, dhowells, linux-c6x-dev, linux-kernel,
Linux-Arch
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>
---
arch/c6x/mm/init.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/c6x/mm/init.c b/arch/c6x/mm/init.c
index e524fde..63f5560 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
--
1.7.7.6
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-06-25 2:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-25 2:01 [PATCH] arch: c6x: mm: include "asm/uaccess.h" to pass compiling Chen Gang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).