aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/include/atomic.h
diff options
context:
space:
mode:
authorConrad Meyer <cem@FreeBSD.org>2020-03-25 23:12:43 +0000
committerConrad Meyer <cem@FreeBSD.org>2020-03-25 23:12:43 +0000
commitca0ec73c11a7bb9ed409466e514fa5c34b6c84b5 (patch)
tree1c9d3998c7f4e86682b2df777ce0de2fc29d17c4 /sys/amd64/include/atomic.h
parent9b2877353b7c371a7964825e3ab2c983d09c0a46 (diff)
Notes
Diffstat (limited to 'sys/amd64/include/atomic.h')
-rw-r--r--sys/amd64/include/atomic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/amd64/include/atomic.h b/sys/amd64/include/atomic.h
index 9e8f49cf5a736..87f7b8e8293ed 100644
--- a/sys/amd64/include/atomic.h
+++ b/sys/amd64/include/atomic.h
@@ -553,6 +553,7 @@ u_long atomic_swap_long(volatile u_long *p, u_long v);
#define atomic_readandclear_int(p) atomic_swap_int(p, 0)
#define atomic_readandclear_long(p) atomic_swap_long(p, 0)
+#define atomic_testandset_acq_long atomic_testandset_long
/* Operations on 8-bit bytes. */
#define atomic_set_8 atomic_set_char