Message ID | 1315332049-2604-32-git-send-email-paulmck@linux.vnet.ibm.com |
---|---|
State | Accepted |
Commit | d322f45ceed525daa9401154590bbae3222cfefb |
Headers | show |
diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h index ea80396..b2e5fe8 100644 --- a/include/linux/rcupdate.h +++ b/include/linux/rcupdate.h @@ -443,9 +443,7 @@ extern int rcu_my_thread_group_empty(void); }) #define __rcu_assign_pointer(p, v, space) \ ({ \ - if (!__builtin_constant_p(v) || \ - ((v) != NULL)) \ - smp_wmb(); \ + smp_wmb(); \ (p) = (typeof(*v) __force space *)(v); \ })