]> git.dujemihanovic.xyz Git - u-boot.git/commit
Move __set/clear_bit from ubifs.h to bitops.h
authorSimon Kagstrom <simon.kagstrom@netinsight.net>
Mon, 24 Aug 2009 07:09:50 +0000 (09:09 +0200)
committerWolfgang Denk <wd@denx.de>
Tue, 15 Sep 2009 20:31:24 +0000 (22:31 +0200)
commit02f99901ed1c9d828e3ea117f94ce2264bf8389e
tree1ce78481730fd40db796928a27f34bf5f885ef03
parent557555fe0b82940ba7cc69f81d31d6ef4d4933b4
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 <simon.kagstrom@netinsight.net>
fs/ubifs/ubifs.h
include/asm-arm/bitops.h
include/asm-blackfin/bitops.h
include/asm-microblaze/bitops.h
include/asm-mips/bitops.h
include/linux/bitops.h