diff options
author | jasone <jasone@FreeBSD.org> | 2007-11-27 06:34:15 +0000 |
---|---|---|
committer | jasone <jasone@FreeBSD.org> | 2007-11-27 06:34:15 +0000 |
commit | 607f2953c00a62d600ea8ec42f9a966ef280e492 (patch) | |
tree | 474f0405921f9c1ba168bc46d8c169e6b4e3b786 /sys/ia64/include | |
parent | afb1c25b9f3794463d6218fd2f8d7596db6771dd (diff) | |
download | FreeBSD-src-607f2953c00a62d600ea8ec42f9a966ef280e492.zip FreeBSD-src-607f2953c00a62d600ea8ec42f9a966ef280e492.tar.gz |
Define atomic_readandclear_ptr.
Diffstat (limited to 'sys/ia64/include')
-rw-r--r-- | sys/ia64/include/atomic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/ia64/include/atomic.h b/sys/ia64/include/atomic.h index 3ff0521..985f48f 100644 --- a/sys/ia64/include/atomic.h +++ b/sys/ia64/include/atomic.h @@ -350,6 +350,7 @@ atomic_readandclear_64(volatile uint64_t* p) #define atomic_readandclear_int atomic_readandclear_32 #define atomic_readandclear_long atomic_readandclear_64 +#define atomic_readandclear_ptr atomic_readandclear_64 /* * Atomically add the value of v to the integer pointed to by p and return |