From: Jean-Christophe PLAGNIOL-VILLARD Date: Thu, 20 Aug 2009 01:12:51 +0200 Subject: [U-Boot] [PATCH 1/4]: Move __set/clear_bit from ubifs.h to bitops.h In-Reply-To: <20090818111022.0076c06a@marrow.netinsight.se> References: <20090818110841.0eb04975@marrow.netinsight.se> <20090818111022.0076c06a@marrow.netinsight.se> Message-ID: <20090819231251.GJ8470@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 11:10 Tue 18 Aug , 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. > > v2: Unify code style (newline between __set_bit and __clear_bit) please this > > Signed-off-by: Simon Kagstrom > --- here > fs/ubifs/ubifs.h | 32 -------------------------------- > include/asm-avr32/bitops.h | 4 ++++ > include/asm-m68k/bitops.h | 4 ++++ > include/asm-nios/bitops.h | 4 ++++ > include/asm-nios2/bitops.h | 4 ++++ > include/asm-ppc/bitops.h | 4 ++++ > include/asm-sh/bitops.h | 5 +++++ > include/asm-sparc/bitops.h | 4 ++++ > include/linux/bitops.h | 30 ++++++++++++++++++++++++++++++ > 9 files changed, 59 insertions(+), 32 deletions(-) > Acked-by: Jean-Christophe PLAGNIOL-VILLARD Best Regards, J.