Function macros are preferred in the LinuxKPI.
MFC after: 1 week Sponsored by: Mellanox Technologies
This commit is contained in:
parent
48ff53e324
commit
8293738e64
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=315859
@ -191,7 +191,7 @@ atomic_cmpxchg(atomic_t *v, int old, int new)
|
||||
__ret; \
|
||||
})
|
||||
|
||||
#define cmpxchg_relaxed cmpxchg
|
||||
#define cmpxchg_relaxed(...) cmpxchg(__VA_ARGS__)
|
||||
|
||||
#define xchg(ptr, v) ({ \
|
||||
__typeof(*(ptr)) __ret; \
|
||||
|
Loading…
Reference in New Issue
Block a user