openrisc: use generic strnlen_user() function
authorJonas Bonn <jonas@southpole.se>
Sun, 27 May 2012 08:25:47 +0000 (10:25 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 May 2012 04:00:32 +0000 (21:00 -0700)
commitb48b2c3e50433ff6f7e46186daa7f986bd960215
tree9a10b2130582f99df5ae7eae0b959425e791118c
parent1629372caaaf7ef744d3b983be56b99468a68ff8
openrisc: use generic strnlen_user() function

The generic version is both easier to support and more correct.

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