Received: from e2.ny.us.ibm.com ([32.97.182.102]) by canuck.infradead.org with esmtp (Exim 4.33 #1 (Red Hat Linux)) id 1C1seN-0003PK-DB for linux-mtd@lists.infradead.org; Mon, 30 Aug 2004 16:21:15 -0400 From: Josh Boyer To: Nicolas Pitre In-Reply-To: References: <042901c48c42$2593cd30$fd0ba8c0@briantpc> <045201c48c4b$8407dc40$fd0ba8c0@briantpc> <053c01c48c60$4976ad80$fd0ba8c0@briantpc> <1093631103.16320.14.camel@thomas.tec.linutronix.de> <068701c48eaf$845dfe70$fd0ba8c0@briantpc> <1093888352.25339.39.camel@weaponx.rchland.ibm.com> <06d101c48ebe$02a2a340$fd0ba8c0@briantpc> <1093890929.25339.45.camel@weaponx.rchland.ibm.com> <1093892677.25339.50.camel@weaponx.rchland.ibm.com> Content-Type: text/plain Message-Id: <1093897253.25339.61.camel@weaponx.rchland.ibm.com> Mime-Version: 1.0 Date: Mon, 30 Aug 2004 15:20:53 -0500 Content-Transfer-Encoding: 7bit Cc: Brian T , linux-mtd@lists.infradead.org Subject: Re: undefined reference to `__ffs' List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, 2004-08-30 at 15:03, Nicolas Pitre wrote: > On Mon, 30 Aug 2004, Josh Boyer wrote: > > > On Mon, 2004-08-30 at 13:53, Nicolas Pitre wrote: > >> On Mon, 30 Aug 2004, Josh Boyer wrote: > >> > >>> On Mon, 2004-08-30 at 13:20, Brian T wrote: > >>>> Not sure how to fix it for non-x86 then. Point me in the right direction? > >>> > >>> Welcome to the hell that is compatmac.h ;). > >>> > >>> Seriously though, maybe take a look at generic_ffs() in > >>> include/linux/bitops.h (in the 2.6 kernel). > >> > >> Again, ffs()/generic_ffs() are not equivalent to __ffs(). > > > > Hm, I remember you saying that now. Care to explain how they are > > different? > > Guys, you really should look at the source... Yes, I should have. I did right after I sent my last email. Sorry. I deserve my scolding for being lazy ;). At least it's in the archives now though. josh