mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
lib: add module support to string tests
Extract the string test code into its own source file, to allow
compiling it either to a loadable module, or built into the kernel.
Fixes: 03270c13c5 ("lib/string.c: add testcases for memset16/32/64")
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Geert Uytterhoeven <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Shuah Khan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
f5bba9d11a
commit
d6b28e0996
4 changed files with 143 additions and 142 deletions
|
|
@ -584,7 +584,7 @@ config PRIME_NUMBERS
|
|||
tristate
|
||||
|
||||
config STRING_SELFTEST
|
||||
bool "Test string functions"
|
||||
tristate "Test string functions"
|
||||
|
||||
endmenu
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue