[U-Boot] [PATCH v4 1/4]: Move __set/clear_bit from ubifs.h to bitops.h

Wolfgang Denk wd at denx.de
Tue Sep 15 22:31:37 CEST 2009


Dear Simon Kagstrom,

In message <20090824090950.6e3f9601 at marrow.netinsight.se> you 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 <simon.kagstrom at netinsight.net>
> ---
> ChangeLog:
>     v2: Unify code style (newline between __set_bit and __clear_bit)
>     v3: Move BIT_MASK and BIT_WORD above the include of asm/bitops.h
>     v4: Move the definition to generic code (Mike Frysinger)
> 
>  fs/ubifs/ubifs.h                |   32 --------------------------------
>  include/asm-arm/bitops.h        |    2 ++
>  include/asm-blackfin/bitops.h   |    1 +
>  include/asm-microblaze/bitops.h |    1 +
>  include/asm-mips/bitops.h       |    1 +
>  include/linux/bitops.h          |   38 ++++++++++++++++++++++++++++++++++++++
>  6 files changed, 43 insertions(+), 32 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
To live is always desirable.
	-- Eleen the Capellan, "Friday's Child", stardate 3498.9


More information about the U-Boot mailing list