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 <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: H. Peter Anvin <[email protected]>
This commit is contained in:
Luca Barbieri 2010-02-24 10:54:24 +01:00 • committed by H. Peter Anvin
commit 86a8938078
3 changed files with 167 additions and 0 deletions

View file

@ -99,6 +99,8 @@ obj-$(CONFIG_GENERIC_CSUM) += checksum.o
obj-$(CONFIG_GENERIC_ATOMIC64) += atomic64.o
obj-$(CONFIG_ATOMIC64_SELFTEST) += atomic64_test.o
hostprogs-y := gen_crc32table
clean-files := crc32table.h