summaryrefslogtreecommitdiff
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2017-02-24 15:00:55 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2017-02-24 17:46:57 -0800
commit55ded9551f9a64f2872df77a954d4c30f8958e82 (patch)
tree89d6c2ee51563b93a3d54bf50413c5ba89dd1db9 /lib/Kconfig.debug
parentba95b045e94fe15cace3a7d3a20fbedb2c6a817e (diff)
downloadlwn-55ded9551f9a64f2872df77a954d4c30f8958e82.tar.gz
lwn-55ded9551f9a64f2872df77a954d4c30f8958e82.zip
lib: add module support to atomic64 tests
Allow to compile the atomic64 test code either to a loadable module, or builtin into the kernel. Link: http://lkml.kernel.org/r/1483470276-10517-3-git-send-email-geert@linux-m68k.org Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r--lib/Kconfig.debug5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 66fb4389f05c..213decb76922 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -1790,9 +1790,10 @@ config PERCPU_TEST
If unsure, say N.
config ATOMIC64_SELFTEST
- bool "Perform an atomic64_t self-test at boot"
+ tristate "Perform an atomic64_t self-test"
help
- Enable this option to test the atomic64_t functions at boot.
+ Enable this option to test the atomic64_t functions at boot or
+ at module load time.
If unsure, say N.