Date: Mon, 7 Oct 2019 07:42:26 +0000 (UTC) From: Andriy Gapon <avg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r353166 - head/sys/mips/include Message-ID: <201910070742.x977gQ92021840@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910070742.x977gQ92021840>