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

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Sun Jul 19 11:54:21 CEST 2009


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 <simon.kagstrom at netinsight.net>
> ---
>  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.


More information about the U-Boot mailing list