]> err.no Git - linux-2.6/commit
sh64: re-add the __strnlen_user() prototype
authorAdrian Bunk <bunk@kernel.org>
Fri, 22 Aug 2008 15:20:29 +0000 (18:20 +0300)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 25 Aug 2008 05:07:58 +0000 (14:07 +0900)
commita1068264522cb0a9b863d5357ade844e490bea41
tree9aee6b3b0afc3e61f3b7038b30b7b2f95be15b0c
parent83097aca8567a0bd593534853b71fe0fa9a75d69
sh64: re-add the __strnlen_user() prototype

Commit 42fd3b142d8867f5b58d6fb75592cd20fd654c1b
(sh: Initial consolidation of the _32/_64 uaccess split.)
mistakenly removed the sh64 __strnlen_user() prototype,
resulting in the following compile error:

<--  snip  -->

...
  CC      init/main.o
In file included from include/linux/poll.h:13,
                 from include/linux/rtc.h:113,
                 from include/linux/efi.h:19,
                 from init/main.c:43:
arch/sh/include/asm/uaccess.h: In function 'strnlen_user':
arch/sh/include/asm/uaccess.h:213: error: implicit declaration of function '__strnlen_user'
...
make[2]: *** [init/main.o] Error 1

<--  snip  -->

Reported-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/uaccess_64.h