diff options
author | jhb <jhb@FreeBSD.org> | 2016-01-22 00:29:11 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2016-01-22 00:29:11 +0000 |
commit | 0840cf26409ce91dd72208f7439fe1b11f4204c8 (patch) | |
tree | 15d52fc4f56ac3765e39e45270a4a1f168c91a12 /sys/sparc64 | |
parent | f6d6671576bc39e8b20cd8b2f036fa6ad8d08dde (diff) | |
download | FreeBSD-src-0840cf26409ce91dd72208f7439fe1b11f4204c8.zip FreeBSD-src-0840cf26409ce91dd72208f7439fe1b11f4204c8.tar.gz |
Add an atomic_fetchadd_64() wrapper on sparc64.
Reviewed by: marius
Diffstat (limited to 'sys/sparc64')
-rw-r--r-- | sys/sparc64/include/atomic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sparc64/include/atomic.h b/sys/sparc64/include/atomic.h index 789ed24..c70e99a 100644 --- a/sys/sparc64/include/atomic.h +++ b/sys/sparc64/include/atomic.h @@ -319,6 +319,7 @@ ATOMIC_GEN(ptr, uintptr_t *, uintptr_t, uintptr_t, 64); #define atomic_fetchadd_int atomic_add_int #define atomic_fetchadd_32 atomic_add_32 #define atomic_fetchadd_long atomic_add_long +#define atomic_fetchadd_64 atomic_add_64 #undef ATOMIC_GEN #undef atomic_cas |