x86: Implement atomic[64]_dec_if_positive()
authorLuca Barbieri <luca@luca-barbieri.com>
Fri, 26 Feb 2010 11:22:41 +0000 (12:22 +0100)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 1 Mar 2010 19:38:42 +0000 (11:38 -0800)
Add support for atomic_dec_if_positive(), and
atomic64_dec_if_positive() for x86-64.

atomic64_dec_if_positive() for x86-32 was already implemented in a previous patch.

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

No differences found