aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
authorLuca Barbieri <luca@luca-barbieri.com>2010-02-24 04:54:24 -0500
committerH. Peter Anvin <hpa@zytor.com>2010-02-25 23:47:12 -0500
commit86a8938078a8bb518c5376de493e348c7490d506 (patch)
treef6f3a0fbb451bcbf25243d220b72b49beb778f76 /lib/Kconfig.debug
parent9c76b38476b18c45f97098a10b0176b321eba3ea (diff)
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
1054 This option causes a performance degredation. Use only if you want 1054 This option causes a performance degredation. Use only if you want
1055 to debug device drivers. If unsure, say N. 1055 to debug device drivers. If unsure, say N.
1056 1056
1057config ATOMIC64_SELFTEST
1058 bool "Perform an atomic64_t self-test at boot"
1059 help
1060 Enable this option to test the atomic64_t functions at boot.
1061
1062 If unsure, say N.
1063
1057source "samples/Kconfig" 1064source "samples/Kconfig"
1058 1065
1059source "lib/Kconfig.kgdb" 1066source "lib/Kconfig.kgdb"