فهرست منبع

sh: sh_ksyms_64 needs __strncpy_from_user() definition.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt 16 سال پیش
والد
کامیت
50b72e600b
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      arch/sh/include/asm/uaccess_64.h

+ 2 - 0
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 void __put_user_unknown(void);
 
 
 extern long __strnlen_user(const char *__s, long __n);
 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 */
 #endif /* __ASM_SH_UACCESS_64_H */