Re: [PATCH] bitops: simplify generic bit finding functions

Linus Torvalds
2008-04-27T20:26:57Z

On Sun, 27 Apr 2008, Harvey Harrison wrote:
>
> No need for a sentinal if we explicitly catch the no bits/all bits set
> cases, make it clear they are special cases returning size/BITS_PER_LONG.

These things need to be re-done anyway. David already complained that the
thing inlines to something much much too big.

Let's just make it not be an inline at all.

Linus