linuxkpi: Add cmpxchg64()
in <asm/atomic.h>
Differential Revision: https://reviews.freebsd.org/D36966
This commit is contained in:
parent
18e4112337
commit
e79a57d4ec
@ -218,6 +218,7 @@ atomic_cmpxchg(atomic_t *v, int old, int new)
|
||||
__ret.val; \
|
||||
})
|
||||
|
||||
#define cmpxchg64(...) cmpxchg(__VA_ARGS__)
|
||||
#define cmpxchg_relaxed(...) cmpxchg(__VA_ARGS__)
|
||||
|
||||
#define xchg(ptr, new) ({ \
|
||||
|
Loading…
Reference in New Issue
Block a user