[U-Boot] [PATCH 2/4]: Define ffs/fls for all architectures

Simon Kagstrom
2009-08-20T08:42:12Z

On Thu, 20 Aug 2009 01:11:09 +0200
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> wrote:

> On 11:13 Tue 18 Aug , Simon Kagstrom wrote:
> > Define ffs/fls for all architectures
> >
> > UBIFS requires fls(), which is not defined for arm (and some other
> > architectures) and this patch adds it. The implementation is taken from
> > Linux and is generic. ffs() is also defined for those that miss it.
> >
> > v2: Unify code style (empty line between ffs/fls)
> please this
> >
> > Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
> > ---
> here

I didn't add that myself - it's git format-patch that put it there.

// Simon