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

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Thu Aug 20 01:12:51 CEST 2009


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

Best Regards,
J.


More information about the U-Boot mailing list