mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 06:15:33 -04:00
linuxkpi: Add cmpxchg64() in <asm/atomic.h>
Differential Revision: https://reviews.freebsd.org/D36966
This commit is contained in:
parent
18e4112337
commit
e79a57d4ec
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue