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

From: Adrian Bunk (bunk@fs.tum.de)
Date: Wed Jun 19 2002 - 04:18:34 EST


On Wed, 19 Jun 2002, Manik Raina wrote:

>
> This fix should remove __builtin_expect () and replace it with
> unlikely () in include/asm-alpha/rwsem.h
> This should be cool since rwsem.h already includes
> include/linux/compiler.h
>
> Files changed :
>
> include/asm-alpha/rwsem.h

The following part of your patch is obviously a typo:

- if (__builtin_expect(count, 0))
+ if (unlikely(count, 0))
                          ^^^

cu
Adrian

-- 

You only think this is a free country. Like the US the UK spends a lot of time explaining its a free country because its a police state. Alan Cox

- 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