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:
David S. Miller <davem@davemloft.net>
Showing
- arch/sparc/Kconfig 1 addition, 0 deletionsarch/sparc/Kconfig
- arch/sparc/include/asm/atomic_64.h 3 additions, 1 deletionarch/sparc/include/asm/atomic_64.h
- arch/sparc/lib/atomic_64.S 15 additions, 1 deletionarch/sparc/lib/atomic_64.S
- arch/sparc/lib/ksyms.c 1 addition, 0 deletionsarch/sparc/lib/ksyms.c
Loading
Please register or sign in to comment