From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Kagstrom Date: Thu, 20 Aug 2009 10:42:12 +0200 Subject: [U-Boot] [PATCH 2/4]: Define ffs/fls for all architectures In-Reply-To: <20090819231109.GI8470@game.jcrosoft.org> References: <20090818110841.0eb04975@marrow.netinsight.se> <20090818111308.3e6a4149@marrow.netinsight.se> <20090819231109.GI8470@game.jcrosoft.org> Message-ID: <20090820104212.48a033e2@marrow.netinsight.se> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, 20 Aug 2009 01:11:09 +0200 Jean-Christophe PLAGNIOL-VILLARD 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 > > --- > here I didn't add that myself - it's git format-patch that put it there. // Simon