From: Paul Mundt Date: Mon, 29 Sep 2008 10:45:16 +0000 (+0900) Subject: sh: sh_ksyms_64 needs __strncpy_from_user() definition. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=50b72e600b62bcdf40971e55f609cf4771346cc1;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git sh: sh_ksyms_64 needs __strncpy_from_user() definition. Signed-off-by: Paul Mundt --- diff --git a/arch/sh/include/asm/uaccess_64.h b/arch/sh/include/asm/uaccess_64.h index 0042c9054b20..56fd20b8cdcc 100644 --- a/arch/sh/include/asm/uaccess_64.h +++ b/arch/sh/include/asm/uaccess_64.h @@ -85,5 +85,7 @@ extern long __put_user_asm_q(void *, long); extern void __put_user_unknown(void); extern long __strnlen_user(const char *__s, long __n); +extern int __strncpy_from_user(unsigned long __dest, + unsigned long __user __src, int __count); #endif /* __ASM_SH_UACCESS_64_H */