Re: [PATCH 2/2] kernel/{exit.c, signal.c, power/process.c}: replace!likely(x) by likely(!x)

From: Roel Kluin
Date: Sat Feb 16 2008 - 14:30:03 EST


H. Peter Anvin wrote:
> Roel Kluin wrote:
>> Not entirely sure who to send this to
>> ---
>> Replace !likely(x) by likely(!x)
>
> Whoa...
>
> Are you sure this is correct?
>
> !likely(x) is equivalent to unlikely(!x), not the opposite, so this is a
> functional change...
>
> -hpa
>
You are right, sorry, Need more caffeine. I will send the right patch later.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/