summaryrefslogtreecommitdiff
path: root/arch/sh/include/asm/uaccess_64.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2012-05-25 04:02:48 (GMT)
committerPaul Mundt <lethal@linux-sh.org>2012-06-13 01:28:16 (GMT)
commit0e100e11bd73be4e28e457cf5ad49a6892d5d1fe (patch)
tree55e193c2f37f458bd51d363bac78e20897c86b49 /arch/sh/include/asm/uaccess_64.h
parent94fa83c424321189ca24fb6cb4c0d224cdedc72d (diff)
downloadlinux-fsl-qoriq-0e100e11bd73be4e28e457cf5ad49a6892d5d1fe.tar.xz
sh: switch to generic strncpy_from_user().
This kills off the special sh32/64 versions and adopts the generic version. It should be possible to optimize this for SH-4A unaligned loads, but this is a corner case that can be supported incrementally. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/uaccess_64.h')
-rw-r--r--arch/sh/include/asm/uaccess_64.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sh/include/asm/uaccess_64.h b/arch/sh/include/asm/uaccess_64.h
index 56fd20b..0042c90 100644
--- a/arch/sh/include/asm/uaccess_64.h
+++ b/arch/sh/include/asm/uaccess_64.h
@@ -85,7 +85,5 @@ 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 */