linuxkpi: Add cmpxchg64() in <asm/atomic.h>
Differential Revision: https://reviews.freebsd.org/D36966
This commit is contained in:
committed by
Emmanuel Vadot
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) ({ \
|
||||
|
||||
Reference in New Issue
Block a user