diff options
author | Jonas Bonn <jonas@southpole.se> | 2012-05-27 10:25:47 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-05-27 21:00:32 -0700 |
commit | b48b2c3e50433ff6f7e46186daa7f986bd960215 (patch) | |
tree | 9a10b2130582f99df5ae7eae0b959425e791118c /arch/openrisc/Kconfig | |
parent | 1629372caaaf7ef744d3b983be56b99468a68ff8 (diff) | |
download | op-kernel-dev-b48b2c3e50433ff6f7e46186daa7f986bd960215.zip op-kernel-dev-b48b2c3e50433ff6f7e46186daa7f986bd960215.tar.gz |
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>
Diffstat (limited to 'arch/openrisc/Kconfig')
-rw-r--r-- | arch/openrisc/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/openrisc/Kconfig b/arch/openrisc/Kconfig index 0656232..49765b5 100644 --- a/arch/openrisc/Kconfig +++ b/arch/openrisc/Kconfig @@ -20,6 +20,7 @@ config OPENRISC select GENERIC_ATOMIC64 select GENERIC_CLOCKEVENTS select GENERIC_STRNCPY_FROM_USER + select GENERIC_STRNLEN_USER config MMU def_bool y |