openrisc: use generic strncpy_from_user
authorJonas Bonn <jonas@southpole.se>
Fri, 25 May 2012 06:24:49 +0000 (08:24 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 May 2012 15:17:43 +0000 (08:17 -0700)
commit603d6637aeb9a14cd0087d7c24c3777bfa51fcbf
tree8b86e31d3d0a9d88b12629c27d2607d6e1420ac8
parentece78b7df734726e790dcab207f463401ff80440
openrisc: use generic strncpy_from_user

As per commits 2922585b9329 ("lib: Sparc's strncpy_from_user is generic
enough, move under lib/") and 92ae03f2ef99 ("x86: merge 32/64-bit
versions of 'strncpy_from_user()' and speed it up"), and corresponding
discussion on linux-arch.

Signed-off-by: Jonas Bonn <jonas@southpole.se>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/openrisc/Kconfig
arch/openrisc/include/asm/uaccess.h
arch/openrisc/lib/string.S