commit | d7f6de1e9c4a12e11ba7186c70f0f40caa76f590 | [log] [tgz] |
---|---|---|
author | Luca Barbieri <luca@luca-barbieri.com> | Fri Feb 26 12:22:41 2010 +0100 |
committer | H. Peter Anvin <hpa@zytor.com> | Mon Mar 01 11:38:42 2010 -0800 |
tree | 0f9de2c0666d298a054f2a256da3029f97369d16 | |
parent | 8f4f202b335144bf5be5c9e5b1bc9477ecdae958 [diff] |
x86: Implement atomic[64]_dec_if_positive() 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>