linuxkpi: Add cmpxchg64() in <asm/atomic.h>

Differential Revision:	https://reviews.freebsd.org/D36966
This commit is contained in:
Jean-Sébastien Pédron 2022-12-01 14:59:16 +01:00 committed by Emmanuel Vadot
parent 18e4112337
commit e79a57d4ec

View File

@ -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) ({ \