add atomic_load_64 for mipsn32
It's just an alias for atomic_load_acq_64 (same as on i386). MFC after: 1 week
This commit is contained in:
parent
80475f9523
commit
eab7984cfe
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=353166
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user