Commit fe74650166dd6905b0cf66594eb79222dc9d7109

Authored by Chen Gang
Committed by Linus Torvalds
1 parent c846ef7deb

arch: c6x: mm: include "asm/uaccess.h" to pass compiling

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>
Cc: <stable@vger.kernel.org>	[3.10.x]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

... ... @@ -18,6 +18,7 @@
18 18 #include <linux/initrd.h>
19 19  
20 20 #include <asm/sections.h>
  21 +#include <asm/uaccess.h>
21 22  
22 23 /*
23 24 * ZERO_PAGE is a special page that is used for zero-initialized