diff --git a/[refs] b/[refs] index b04305232a76..e7abda316b75 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: d9ad8bc0ca823705413f75b50c442a88cc518b35 +refs/heads/master: ab3c9c686e22ab264269337ce7b75d9760211198 diff --git a/trunk/include/linux/compiler.h b/trunk/include/linux/compiler.h index 8872ad6dd89b..37bcb50a4d7c 100644 --- a/trunk/include/linux/compiler.h +++ b/trunk/include/linux/compiler.h @@ -115,7 +115,9 @@ void ftrace_likely_update(struct ftrace_branch_data *f, int val, int expect); * "Define 'is'", Bill Clinton * "Define 'if'", Steven Rostedt */ -#define if(cond) if (__builtin_constant_p((cond)) ? !!(cond) : \ +#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) ) +#define __trace_if(cond) \ + if (__builtin_constant_p((cond)) ? !!(cond) : \ ({ \ int ______r; \ static struct ftrace_branch_data \