• Adrian Bunk's avatar
    sh64: re-add the __strnlen_user() prototype · a1068264
    Adrian Bunk authored
    Commit 42fd3b14
    (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: default avatarAdrian Bunk <bunk@kernel.org>
    Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
    Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
    a1068264
uaccess_64.h 2.01 KB