diff options
author | David S. Miller <davem@davemloft.net> | 2012-11-09 19:37:59 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-11-09 19:37:59 -0800 |
commit | 193d2aadc0ff5c687f6f0d5ef1d38c86ab511a14 (patch) | |
tree | 294286e259a08c977e3e71819b2c1d763b13312f /arch/sparc/Kconfig | |
parent | 0bce04be442cf4d6e4ba9dac2f0a4c5ee88af5c5 (diff) |
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>
Diffstat (limited to 'arch/sparc/Kconfig')
-rw-r--r-- | arch/sparc/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig index b6b442b0d79..9f2edb5c555 100644 --- a/arch/sparc/Kconfig +++ b/arch/sparc/Kconfig @@ -20,6 +20,7 @@ config SPARC select HAVE_ARCH_TRACEHOOK select SYSCTL_EXCEPTION_TRACE select ARCH_WANT_OPTIONAL_GPIOLIB + select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE select RTC_CLASS select RTC_DRV_M48T59 select HAVE_IRQ_WORK |