svn commit: r353760 - stable/12/sys/mips/include
Andriy Gapon
avg at FreeBSD.org
Sat Oct 19 08:22:52 UTC 2019
Author: avg
Date: Sat Oct 19 08:22:51 2019
New Revision: 353760
URL: https://svnweb.freebsd.org/changeset/base/353760
Log:
MFC r353166: add atomic_load_64 for mipsn32
Modified:
stable/12/sys/mips/include/atomic.h
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sys/mips/include/atomic.h
==============================================================================
--- stable/12/sys/mips/include/atomic.h Sat Oct 19 08:19:49 2019 (r353759)
+++ stable/12/sys/mips/include/atomic.h Sat Oct 19 08:22:51 2019 (r353760)
@@ -343,6 +343,10 @@ ATOMIC_STORE_LOAD(32)
ATOMIC_STORE_LOAD(64)
#undef ATOMIC_STORE_LOAD
+#ifdef __mips_n32
+#define atomic_load_64 atomic_load_acq_64
+#endif
+
/*
* Atomically compare the value stored at *p with cmpval and if the
* two values are equal, update the value of *p with newval. Returns
More information about the svn-src-all
mailing list