summaryrefslogtreecommitdiffstats
path: root/sys/powerpc
diff options
context:
space:
mode:
Diffstat (limited to 'sys/powerpc')
-rw-r--r--sys/powerpc/include/atomic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/powerpc/include/atomic.h b/sys/powerpc/include/atomic.h
index e44cec1..12c4935 100644
--- a/sys/powerpc/include/atomic.h
+++ b/sys/powerpc/include/atomic.h
@@ -234,6 +234,7 @@ atomic_readandclear_64(volatile u_int64_t *addr)
#define atomic_clear_ptr atomic_clear_32
#define atomic_add_ptr atomic_add_32
#define atomic_subtract_ptr atomic_subtract_32
+#define atomic_readandclear_ptr atomic_readandclear_32
#if 0
OpenPOWER on IntegriCloud