]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - include/linux/compiler.h
Merge tag 'v4.5-rc6' into locking/core, to pick up fixes
[mirror_ubuntu-artful-kernel.git] / include / linux / compiler.h
index 4291592b643345501a4ad231f217f62b9a6e775f..a27f4f17c382b1cbf8884ac33b8134dafe624b2d 100644 (file)
@@ -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                        \