Message ID | 1457390052-32134-1-git-send-email-kamal@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/include/linux/compiler.h b/include/linux/compiler.h index e08a6ae..fbd67da 100644 --- a/include/linux/compiler.h +++ b/include/linux/compiler.h @@ -144,7 +144,7 @@ void ftrace_likely_update(struct ftrace_branch_data *f, int val, int expect); */ #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) ) #define __trace_if(cond) \ - if (__builtin_constant_p((cond)) ? !!(cond) : \ + if (__builtin_constant_p(!!(cond)) ? !!(cond) : \ ({ \ int ______r; \ static struct ftrace_branch_data \