<sys/queue.h> for TAILQ_*. Parenthesize macro arguments.

This commit is contained in:
riastradh 2018-08-24 16:37:19 +00:00
parent 50d4d47f30
commit de83ca4c98
1 changed files with 3 additions and 2 deletions

View File

@ -78,6 +78,7 @@
#else /* _KERNEL */
#include <sys/cdefs.h>
#include <sys/queue.h>
#ifdef _KERNEL_OPT
#include "opt_dtrace.h"
@ -170,8 +171,8 @@
#define SDT_PROBE(prov, mod, func, name, arg0, arg1, arg2, arg3, arg4) do { \
if (sdt_##prov##_##mod##_##func##_##name->id) \
(*sdt_probe_func)(sdt_##prov##_##mod##_##func##_##name->id, \
(uintptr_t) arg0, (uintptr_t) arg1, (uintptr_t) arg2, \
(uintptr_t) arg3, (uintptr_t) arg4); \
(uintptr_t) (arg0), (uintptr_t) (arg1), (uintptr_t) (arg2), \
(uintptr_t) (arg3), (uintptr_t) (arg4)); \
} while (0)
#define SDT_PROBE_ARGTYPE(prov, mod, func, name, num, type, xtype) \