Large number of boilerplate bit operations which are written in C-language
are scattered around include/asm-*/bitops.h.
This patch series gathers them into include/asm-generic/bitops/*.h .
It will be the benefit to:
- kill duplicated code and comment (about 4000 lines)
- use better C-language equivalents
- help porting new architecture
Major changes since previous version:
- put each class of bitop into its own header file in asm-generic/bitops/
- change __ffs()
- fix warning fix
Todo:
- improve hweight*() routines
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [patch 11/44] generic find_{next,first}{,_zero}_bit()
- [patch 16/44] generic ext2_{set,clear}_bit_atomic()
- [patch 02/44] parisc: add ()-pair in __ffz() macro
- [patch 10/44] generic fls64()
- [patch 11/44] generic find_{next,first}{,_zero}_bit()
- [patch 13/44] generic ffs()
- [patch 08/44] generic ffz()
- [patch 09/44] generic fls()
- [patch 06/44] generic __{,test_and_}{set,clear,change}_bit() and test_bit()
- [patch 04/44] use non atomic operations for minix_*_bit() and ext2_*_bit()
- [patch 07/44] generic __ffs()
- [patch 03/44] cris: remove unnecessary local_irq_restore()
- [patch 12/44] generic sched_find_first_bit()
- [patch 24/44] i386: use generic bitops
- [patch 23/44] h8300: use generic bitops
- [patch 17/44] generic minix_{test,set,test_and_clear,test,find_first_zero}_bit()
- [patch 22/44] frv: use generic bitops
- [patch 14/44] generic hweight{64,32,16,8}()
- [patch 20/44] arm26: use generic bitops
- [patch 21/44] cris: use generic bitops
- [patch 19/44] arm: use generic bitops
- [patch 18/44] alpha: use generic bitops
- [patch 05/44] generic {,test_and_}{set,clear,change}_bit()
- [patch 15/44] generic ext2_{set,clear,test,find_first_zero,find_next_zero}_bit()
- [patch 25/44] ia64: use generic bitops
- [patch 34/44] sh64: use generic bitops
- [patch 31/44] powerpc: use generic bitops
- [patch 32/44] s390: use generic bitops
- [patch 33/44] sh: use generic bitops
- [patch 28/44] m68knommu: use generic bitops
- [patch 29/44] mips: use generic bitops
- [patch 27/44] m68k: use generic bitops
- [patch 30/44] parisc: use generic bitops
- [patch 26/44] m32r: use generic bitops
- [patch 35/44] sparc: use generic bitops
- [patch 44/44] remove unused generic bitops in include/linux/bitops.h
- [patch 41/44] make thread_info.flags an unsigned long
- [patch 42/44] ia64: make partial_page.bitmap an unsigned long
- [patch 40/44] update include/asm-generic/bitops.h
- [patch 39/44] xtensa: use generic bitops
- [patch 36/44] sparc64: use generic bitops
- [patch 37/44] v850: use generic bitops
- [patch 43/44] ntfs: remove generic_ffs()
- [patch 38/44] x86_64: use generic bitops
- [patch 01/44] ia64: use cpu_set() instead of __set_bit()
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]