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.kagst...@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.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to