summaryrefslogtreecommitdiffstats
path: root/lib/Kconfig
diff options
context:
space:
mode:
authorGeert Uytterhoeven2017-11-18 00:27:56 +0100
committerLinus Torvalds2017-11-18 01:10:01 +0100
commitd6b28e0996962aeadd3777ae565ae03dd5c59f18 (patch)
tree83cde532b1500223778ddebbb84447418a140c3b /lib/Kconfig
parentinclude/linux/radix-tree.h: remove unneeded #include <linux/bug.h> (diff)
downloadkernel-qcow2-linux-d6b28e0996962aeadd3777ae565ae03dd5c59f18.tar.gz
kernel-qcow2-linux-d6b28e0996962aeadd3777ae565ae03dd5c59f18.tar.xz
kernel-qcow2-linux-d6b28e0996962aeadd3777ae565ae03dd5c59f18.zip
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: 03270c13c5ffaa6a ("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>
Diffstat (limited to 'lib/Kconfig')
-rw-r--r--lib/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index a2b6745324ab..368972f0db78 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -584,7 +584,7 @@ config PRIME_NUMBERS
tristate
config STRING_SELFTEST
- bool "Test string functions"
+ tristate "Test string functions"
endmenu