sh: use the new generic strnlen_user() function
authorPaul Mundt <lethal@linux-sh.org>
Mon, 4 Jun 2012 06:46:05 +0000 (15:46 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 13 Jun 2012 01:28:37 +0000 (10:28 +0900)
commitcba8df4be3bdf10c86a26c458c5fc2ca978eeb2c
tree5dd9f6c93efc0588b813febe7d24178fa43d3d8b
parent0e100e11bd73be4e28e457cf5ad49a6892d5d1fe
sh: use the new generic strnlen_user() function

This discards both the _32 and _64 versions in favour of the consolidated
generic one.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/Kconfig
arch/sh/include/asm/uaccess.h
arch/sh/include/asm/uaccess_32.h
arch/sh/include/asm/uaccess_64.h
arch/sh/include/asm/word-at-a-time.h [new file with mode: 0644]
arch/sh/kernel/cpu/sh5/entry.S
arch/sh/kernel/sh_ksyms_64.c