commit | 3eea44ea753923c6af90be808426ecddc482de61 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Tue Jul 26 16:09:09 2011 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Jul 26 16:49:47 2011 -0700 |
tree | 6396fde749790461d6e355a0bf4d3ec88b56831b | |
parent | acac43e2fc4b14ecf1ff229eaa8d1e011d063749 [diff] |
asm-generic/atomic.h: simplify inc/dec test helpers We already declared inc/dec helpers, so we don't need to call the atomic_{add,sub}_return funcs directly. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Cc: Arun Sharma <asharma@fb.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>