From eab7984cfe35a346becfe203414be2437878b7ef Mon Sep 17 00:00:00 2001 From: Andriy Gapon Date: Mon, 7 Oct 2019 07:42:26 +0000 Subject: [PATCH] add atomic_load_64 for mipsn32 It's just an alias for atomic_load_acq_64 (same as on i386). MFC after: 1 week --- sys/mips/include/atomic.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/mips/include/atomic.h b/sys/mips/include/atomic.h index 1ee2363f8a6f..407de5adeae4 100644 --- a/sys/mips/include/atomic.h +++ b/sys/mips/include/atomic.h @@ -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