]> git.baikalelectronics.ru Git - kernel.git/commit
sh: switch to generic strncpy_from_user().
authorPaul Mundt <lethal@linux-sh.org>
Fri, 25 May 2012 04:02:48 +0000 (13:02 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 13 Jun 2012 01:28:16 +0000 (10:28 +0900)
commit54e2be976beae77ba6b80693c83a4ed72662b0a3
tree55e193c2f37f458bd51d363bac78e20897c86b49
parentb8d2fc1e684fe26c53427c182a8bca4eb2224623
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>
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/kernel/cpu/sh5/entry.S
arch/sh/kernel/sh_ksyms_64.c