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

Adrian Bunk (bunk@fs.tum.de)
Wed, 19 Jun 2002 11:18:34 +0200 (CEST)


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/