]> git.karo-electronics.de Git - karo-tx-linux.git/commit
arch: c6x: mm: include "asm/uaccess.h" to pass compiling
authorChen Gang <gang.chen@asianux.com>
Wed, 3 Jul 2013 22:00:42 +0000 (15:00 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 Jul 2013 23:07:22 +0000 (16:07 -0700)
commitfe74650166dd6905b0cf66594eb79222dc9d7109
treef3fdc9a0a0d7c548623d7489f54c57b0aecd12a2
parentc846ef7deba2d4f75138cf6a4b137b7e0e7659af
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>
arch/c6x/mm/init.c