From: Chen Gang <gang.chen@xxxxxxxxxxx> Subject: 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@xxxxxxxxxxx> Cc: <stable@xxxxxxxxxxxxxxx> [3.10.x] Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/c6x/mm/init.c | 1 + 1 file changed, 1 insertion(+) diff -puN arch/c6x/mm/init.c~arch-c6x-mm-include-asm-uaccessh-to-pass-compiling arch/c6x/mm/init.c --- a/arch/c6x/mm/init.c~arch-c6x-mm-include-asm-uaccessh-to-pass-compiling +++ a/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 _ -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html