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>
This commit is contained in:
committed by
H. Peter Anvin
parent
9c76b38476
commit
86a8938078
@@ -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"
|
||||
|
Reference in New Issue
Block a user