diff options
author | andrew <andrew@FreeBSD.org> | 2016-05-18 13:09:52 +0000 |
---|---|---|
committer | andrew <andrew@FreeBSD.org> | 2016-05-18 13:09:52 +0000 |
commit | f7a973e64a1e453e98fadab5ccca905d3ed533fb (patch) | |
tree | 20c093af5fa3bcde1eacd1f103cb3a684cf180ce /sys/arm/include | |
parent | 9d4244757ddf516b246ec5134bff023722354db7 (diff) | |
download | FreeBSD-src-f7a973e64a1e453e98fadab5ccca905d3ed533fb.zip FreeBSD-src-f7a973e64a1e453e98fadab5ccca905d3ed533fb.tar.gz |
Implement atomic_cmpset_acq_64 and atomic_cmpset_rel_64 on arm and armeb.
This should allow r300113 to build there.
Sponsored by: ABT Systems Ltd
Diffstat (limited to 'sys/arm/include')
-rw-r--r-- | sys/arm/include/atomic-v4.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/arm/include/atomic-v4.h b/sys/arm/include/atomic-v4.h index 0c0b377..b4ff5bf 100644 --- a/sys/arm/include/atomic-v4.h +++ b/sys/arm/include/atomic-v4.h @@ -372,6 +372,8 @@ atomic_swap_32(volatile u_int32_t *p, u_int32_t v) #define atomic_cmpset_rel_32 atomic_cmpset_32 #define atomic_cmpset_acq_32 atomic_cmpset_32 +#define atomic_cmpset_rel_64 atomic_cmpset_64 +#define atomic_cmpset_acq_64 atomic_cmpset_64 #define atomic_set_rel_32 atomic_set_32 #define atomic_set_acq_32 atomic_set_32 #define atomic_clear_rel_32 atomic_clear_32 |