lib: Only test atomic64_dec_if_positive on archs having it
authorLuca Barbieri <luca@luca-barbieri.com>
Fri, 26 Feb 2010 11:22:40 +0000 (12:22 +0100)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 1 Mar 2010 19:37:55 +0000 (11:37 -0800)
commit8f4f202b335144bf5be5c9e5b1bc9477ecdae958
treea1bc2508079fe2312e87a8a29d8553f4985148d6
parenta7e926abc3adfbd2e5e20d2b46177adb4e313915
lib: Only test atomic64_dec_if_positive on archs having it

Currently atomic64_dec_if_positive() is only supported by PowerPC,
MIPS and x86-32.

Signed-off-by: Luca Barbieri <luca@luca-barbieri.com>
LKML-Reference: <1267183361-20775-1-git-send-email-luca@luca-barbieri.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
lib/atomic64_test.c