Re: [PATCH]: (off 2.5.22) replacing __builtin_expect with unlikely in Alpha headers

From: Paul Menage (pmenage@ensim.com)
Date: Wed Jun 19 2002 - 04:15:52 EST


In article <0C01A29FBAE24448A792F5C68F5EA47D29E3F6@nasdaq.ms.ensim.com>,
you write:
> :"=&r" (count), "=m" (sem->count), "=&r" (temp)
> :"Ir" (RWSEM_ACTIVE_WRITE_BIAS), "m" (sem->count) : "memory");
> #endif
>- if (__builtin_expect(count, 0))
>+ if (unlikely(count, 0))
                          ^^^^

This should be

if (unlikely(count))

Paul

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jun 23 2002 - 22:00:18 EST