diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2013-02-01 12:37:48 -0500 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2013-03-22 15:47:00 -0400 |
commit | adf6d9b30f089c52e674e84ca2960581e504e5e3 (patch) | |
tree | f680f2877480201116e54da1e6a1af848884d646 /arch/tile/Kconfig | |
parent | ef567f25d5d9d803b89bc2aec6bb71fe8b4bebd9 (diff) |
tile: support atomic64_dec_if_positive()
Use the normal cmpxchg() idiom to implement this functionality.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile/Kconfig')
-rw-r--r-- | arch/tile/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/tile/Kconfig b/arch/tile/Kconfig index 0e500d90c2a0..9a9d08637ab9 100644 --- a/arch/tile/Kconfig +++ b/arch/tile/Kconfig | |||
@@ -24,6 +24,7 @@ config TILE | |||
24 | select MODULES_USE_ELF_RELA | 24 | select MODULES_USE_ELF_RELA |
25 | select HAVE_ARCH_TRACEHOOK | 25 | select HAVE_ARCH_TRACEHOOK |
26 | select HAVE_SYSCALL_TRACEPOINTS | 26 | select HAVE_SYSCALL_TRACEPOINTS |
27 | select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE | ||
27 | 28 | ||
28 | # FIXME: investigate whether we need/want these options. | 29 | # FIXME: investigate whether we need/want these options. |
29 | # select HAVE_IOREMAP_PROT | 30 | # select HAVE_IOREMAP_PROT |