From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle McMartin Subject: Re: [PATCH] btrfs: fix __ucmpdi2 compile bug on 32 bit builds Date: Fri, 27 Mar 2009 10:24:01 -0400 Message-ID: <20090327142401.GA29999@bombadil.infradead.org> References: <20090327134252.0f24773b@osiris.boeblingen.de.ibm.com> <20090328011626.5d6f94f4.sfr@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Heiko Carstens , Chris Mason , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org To: Stephen Rothwell Return-path: Received: from bombadil.infradead.org ([18.85.46.34]:46718 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750937AbZC0OYN (ORCPT ); Fri, 27 Mar 2009 10:24:13 -0400 Content-Disposition: inline In-Reply-To: <20090328011626.5d6f94f4.sfr@canb.auug.org.au> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Sat, Mar 28, 2009 at 01:16:26AM +1100, Stephen Rothwell wrote: > > - switch (em->block_start) { > > - case EXTENT_MAP_LAST_BYTE: > > + if (em->block_start == EXTENT_MAP_LAST_BYTE) { > > I might be a good idea to put a comment there about why this isn't a > switch statement so that someone doesn't "clean up" this code in the > future. > nrrrgh. Remind me why we can't just add the libgcc helpers? Unless we plan on growing some more of these, surely we can just reduce it to a u32 for the switch... regards, Kyle