summaryrefslogtreecommitdiff
path: root/lib/Makefile
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-25 20:47:12 -0800
commit86a8938078a8bb518c5376de493e348c7490d506 (patch)
treef6f3a0fbb451bcbf25243d220b72b49beb778f76 /lib/Makefile
parent9c76b38476b18c45f97098a10b0176b321eba3ea (diff)
downloadlinux-3.10-86a8938078a8bb518c5376de493e348c7490d506.tar.gz
linux-3.10-86a8938078a8bb518c5376de493e348c7490d506.tar.bz2
linux-3.10-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/Makefile')
-rw-r--r--lib/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 347ad8db29d..4af4786fe28 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -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