summaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
authorLuca Barbieri <luca@luca-barbieri.com>2010-02-24 10:54:24 +0100
committerH. Peter Anvin <hpa@zytor.com>2010-02-26 05:47:12 +0100
commit86a8938078a8bb518c5376de493e348c7490d506 (patch)
treef6f3a0fbb451bcbf25243d220b72b49beb778f76 /lib/Kconfig.debug
parentx86-32: Allow UP/SMP lock replacement in cmpxchg64 (diff)
downloadlinux-86a8938078a8bb518c5376de493e348c7490d506.tar.xz
linux-86a8938078a8bb518c5376de493e348c7490d506.zip
lib: Add self-test for atomic64_t
This patch adds self-test on boot code for atomic64_t. This has been used to test the later changes in this patchset. Signed-off-by: Luca Barbieri <luca@luca-barbieri.com> LKML-Reference: <1267005265-27958-4-git-send-email-luca@luca-barbieri.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r--lib/Kconfig.debug7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 25c3ed594c54..3676c517a073 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -1054,6 +1054,13 @@ config DMA_API_DEBUG
This option causes a performance degredation. Use only if you want
to debug device drivers. If unsure, say N.
+config ATOMIC64_SELFTEST
+ bool "Perform an atomic64_t self-test at boot"
+ help
+ Enable this option to test the atomic64_t functions at boot.
+
+ If unsure, say N.
+
source "samples/Kconfig"
source "lib/Kconfig.kgdb"