Skip to content

RFC: use include/asm-generic/bitops.h

Akinobu Mita linux-ia64 linux-mips linuxppc-dev lkml sparclinux ultralinux 1 version Applied

Status from this message: I applied the x86-64 bits. Thanks. Please send the ia64 bits separately

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 35 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6{set,clear,test}_bit() related cleanuparch/ia64/kernel/mca.c arch/x86_64/kernel/mce.c arch/x86_64/kernel/setup.c +3 more+12 -134 replies
2/6use non atomic operations for minix_*_bit() and ext2_*_bit()include/asm-h8300/bitops.h include/asm-ia64/bitops.h include/asm-mips/bitops.h +7 more+40 -520 replies
3/6C-language equivalents of include/asm-*/bitops.hinclude/asm-generic/bitops.h+641 -3664 replies
4/6use include/asm-generic/bitops for each architectureinclude/asm-alpha/bitops.h include/asm-arm/bitops.h include/asm-arm26/bitops.h +19 more+228 -46664 replies
5/6fix warning on test_ti_thread_flag()include/linux/thread_info.h+1 -13 replies
6/6remove unused generic bitops in include/linux/bitops.hinclude/linux/bitops.h+1 -1230 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] RFC: use include/asm-generic/bitops.h

Large number of boilerplate bit operations written in C-language are scattered around include/asm-*/bitops.h.
These patch series gather them into include/asm-generic/bitops.h. And

- kill duplicated code and comment (about 4000lines)
- use better C-language equivalents
- help porting new architecture (now include/asm-generic/bitops.h is not referenced from anywhere)