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/1505397744-3387-1-git-send-email-geert@linux-m68k.org
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Matthew Wilcox <mawilcox@microsoft.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
f5bba9d11a
commit
d6b28e0996
@@ -584,7 +584,7 @@ config PRIME_NUMBERS
|
||||
tristate
|
||||
|
||||
config STRING_SELFTEST
|
||||
bool "Test string functions"
|
||||
tristate "Test string functions"
|
||||
|
||||
endmenu
|
||||
|
||||
|
Reference in New Issue
Block a user