From: Jean-Christophe PLAGNIOL-VILLARD Date: Sun, 19 Jul 2009 11:54:21 +0200 Subject: [U-Boot] [PATCH 1/8]: Move __set/clear_bit from ubifs.h to bitops.h In-Reply-To: <20090707155631.2cf36a6f@marrow.netinsight.se> References: <20090707155510.58ae70bb@marrow.netinsight.se> <20090707155631.2cf36a6f@marrow.netinsight.se> Message-ID: <20090719095421.GF31924@game.jcrosoft.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 15:56 Tue 07 Jul , Simon Kagstrom wrote: > Move __set/clear_bit from ubifs.h to bitops.h > > __set_bit and __clear_bit are defined in ubifs.h as well as in > asm/include/bitops.h for some architectures. This patch moves > the generic implementation to include/linux/bitops.h and uses > that unless it's defined by the architecture. > > Signed-off-by: Simon Kagstrom > --- > fs/ubifs/ubifs.h | 32 -------------------------------- > include/asm-avr32/bitops.h | 3 +++ > include/asm-m68k/bitops.h | 3 +++ > include/asm-nios/bitops.h | 3 +++ > include/asm-nios2/bitops.h | 3 +++ > include/asm-ppc/bitops.h | 3 +++ > include/asm-sh/bitops.h | 4 ++++ > include/asm-sparc/bitops.h | 3 +++ > include/linux/bitops.h | 30 ++++++++++++++++++++++++++++++ IIRC it's not include/linux/bitops.h but include/asm-generic/bitops/non-atomic.h Best Regards, J.