diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-05-26 11:09:53 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-05-26 11:33:54 -0700 |
commit | 5723aa993d83803157c22327e90cd59e3dcbe879 (patch) | |
tree | 9b5cd120395a44bd59ce74552f33d372617a47b0 /arch/x86/Kconfig | |
parent | a08c5356a3aaf638c41897ae4169de18db89595e (diff) | |
download | linux-5723aa993d83803157c22327e90cd59e3dcbe879.tar.bz2 |
x86: use the new generic strnlen_user() function
This throws away the old x86-specific functions in favor of the generic
optimized version.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 3220d44e24d0..d700811785ea 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -94,6 +94,7 @@ config X86 select GENERIC_TIME_VSYSCALL if X86_64 select KTIME_SCALAR if X86_32 select GENERIC_STRNCPY_FROM_USER + select GENERIC_STRNLEN_USER config INSTRUCTION_DECODER def_bool (KPROBES || PERF_EVENTS || UPROBES) |