svn commit: r351473 - in stable/12: share/man/man9 sys/i386/include
Konstantin Belousov
kib at FreeBSD.org
Sun Aug 25 06:14:01 UTC 2019
Author: kib
Date: Sun Aug 25 06:14:00 2019
New Revision: 351473
URL: https://svnweb.freebsd.org/changeset/base/351473
Log:
MFC r351190:
i386: Implement atomic_load_64(9) and atomic_store_64(9).
Modified:
stable/12/share/man/man9/atomic.9
stable/12/sys/i386/include/atomic.h
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/share/man/man9/atomic.9
==============================================================================
--- stable/12/share/man/man9/atomic.9 Sun Aug 25 05:13:15 2019 (r351472)
+++ stable/12/share/man/man9/atomic.9 Sun Aug 25 06:14:00 2019 (r351473)
@@ -23,7 +23,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd December 22, 2017
+.Dd August 18, 2019
.Dt ATOMIC 9
.Os
.Sh NAME
@@ -478,7 +478,7 @@ and do not have any variants with memory barriers at t
.Pp
The type
.Dq Li 64
-is currently not implemented for any of the atomic operations on the
+is currently not implemented for some of the atomic operations on the
.Tn arm ,
.Tn i386 ,
and
Modified: stable/12/sys/i386/include/atomic.h
==============================================================================
--- stable/12/sys/i386/include/atomic.h Sun Aug 25 05:13:15 2019 (r351472)
+++ stable/12/sys/i386/include/atomic.h Sun Aug 25 06:14:00 2019 (r351473)
@@ -891,6 +891,8 @@ u_long atomic_swap_long(volatile u_long *p, u_long v);
#define atomic_add_rel_64 atomic_add_64
#define atomic_subtract_acq_64 atomic_subtract_64
#define atomic_subtract_rel_64 atomic_subtract_64
+#define atomic_load_64 atomic_load_acq_64
+#define atomic_store_64 atomic_store_rel_64
/* Operations on pointers. */
#define atomic_set_ptr(p, v) \
More information about the svn-src-stable-12
mailing list