On 13-02-2008 01:50, Stephen Hemminger wrote:
...
> --- a/include/linux/rcupdate.h        2008-02-12 14:46:49.000000000 -0800
> +++ b/include/linux/rcupdate.h        2008-02-12 14:56:17.000000000 -0800
> @@ -178,7 +178,7 @@ struct rcu_head {
>  
>  #define rcu_assign_pointer(p, v)                     \
>       ({                                              \
> -             if (!(__builtin_constant_p(v) && v))    \
> +             if (!__builtin_constant_p(v) || v)      \

Isn't it a bit safer with this Paul's version yet?:

 +              if (!__builtin_constant_p(v) || (v))    \

Jarek P.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to