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
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to