diff options
author | Luca Barbieri <luca@luca-barbieri.com> | 2010-02-24 10:54:24 +0100 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-02-25 20:47:12 -0800 |
commit | 86a8938078a8bb518c5376de493e348c7490d506 (patch) | |
tree | f6f3a0fbb451bcbf25243d220b72b49beb778f76 /lib/Kconfig.debug | |
parent | 9c76b38476b18c45f97098a10b0176b321eba3ea (diff) | |
download | op-kernel-dev-86a8938078a8bb518c5376de493e348c7490d506.zip op-kernel-dev-86a8938078a8bb518c5376de493e348c7490d506.tar.gz |
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.debug | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 25c3ed5..3676c51 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" |