Skip to content
Snippets Groups Projects
Commit 193d2aad authored by David S. Miller's avatar David S. Miller
Browse files

sparc: Support atomic64_dec_if_positive properly.


Sparc32 already supported it, as a consequence of using the
generic atomic64 implementation.  And the sparc64 implementation
is rather trivial.

This allows us to set ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE for all
of sparc, and avoid the annoying warning from lib/atomic64_test.c

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0bce04be
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment