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

Simon Kagstrom simon.kagstrom at netinsight.net
Thu Aug 20 10:42:12 CEST 2009


On Thu, 20 Aug 2009 01:11:09 +0200
Jean-Christophe PLAGNIOL-VILLARD <plagnioj at 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 at netinsight.net>
> > ---
> here

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

// Simon


More information about the U-Boot mailing list