Author: avg
Date: Mon Oct  7 07:42:26 2019
New Revision: 353166
URL: https://svnweb.freebsd.org/changeset/base/353166

Log:
  add atomic_load_64 for mipsn32
  
  It's just an alias for atomic_load_acq_64 (same as on i386).
  
  MFC after:    1 week

Modified:
  head/sys/mips/include/atomic.h

Modified: head/sys/mips/include/atomic.h
==============================================================================
--- head/sys/mips/include/atomic.h      Mon Oct  7 07:37:42 2019        
(r353165)
+++ head/sys/mips/include/atomic.h      Mon Oct  7 07:42:26 2019        
(r353166)
@@ -348,6 +348,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-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to