From: Simon Kagstrom Date: Mon, 17 Aug 2009 16:43:23 +0200 Subject: [U-Boot] [PATCH 3/8]: Define test_and_set/clear_bit for ARM In-Reply-To: <20090719094713.GE31924@game.jcrosoft.org> References: <20090707155510.58ae70bb@marrow.netinsight.se> <20090707155816.2fdee386@marrow.netinsight.se> <20090719094713.GE31924@game.jcrosoft.org> Message-ID: <20090817164323.1d4bab59@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 Sun, 19 Jul 2009 11:47:13 +0200 Jean-Christophe PLAGNIOL-VILLARD wrote: > On 15:58 Tue 07 Jul , Simon Kagstrom wrote: > > Signed-off-by: Simon Kagstrom > > --- > > include/asm-arm/bitops.h | 4 ++-- > > 1 files changed, 2 insertions(+), 2 deletions(-) > > > NACK > > the test_and_set_bit and co must be endianless specific > which is not the case here OK. Anyway, the bitops implementation is a bit messy (which I noted when trying to get ubifs working on arm - hence these patches). Maybe an idea could be to bring in the Linux asm-generic/bitops/* instead and remove the architecture-specific versions? // Simon