Function macros are preferred in the LinuxKPI.

MFC after:		1 week
Sponsored by:		Mellanox Technologies
This commit is contained in:
Hans Petter Selasky 2017-03-23 13:28:16 +00:00
parent 48ff53e324
commit 8293738e64
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=315859

View File

@ -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; \