Subject: Re: linux-next: sparc tree build failure

From: David Miller <[email-masked]>
Date: Wed, 03 Dec 2008 16:04:23 -0800 (PST)

From: Rusty Russell <[email-masked]>
Date: Tue, 2 Dec 2008 21:52:25 +1030

> On Tuesday 02 December 2008 16:54:13 Stephen Rothwell wrote:
> > Hi Dave,
> >
> > Today's linux-next build (sparc defconfig) failed like this:
> >
> > lib/find_next_bit.c: In function 'find_last_bit':
> > lib/find_next_bit.c:183: error: implicit declaration of function '__fls'
> 
> Thanks Stephen... that's a surprise.
> 
> Dave, I think this is a sparc issue.
> 
> sparc: asm/bitops.h should define __fls

I'll add this patch, thanks Rusty.