Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Oct 2019 08:22:51 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r353760 - stable/12/sys/mips/include
Message-ID:  <201910190822.x9J8MpSW001199@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910190822.x9J8MpSW001199>