kernel-ark/include/asm-generic/bitops
Catalin Marinas 048fa2df92 generic: Implement generic ffs/fls using __builtin_* functions
This patch implements ffs, __ffs, fls, __fls using __builtin_* gcc
functions. These header files can be used by other architectures that
rely on the gcc builtins.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
2012-09-14 17:15:41 +01:00
..
__ffs.h x86, generic: mark complex bitops.h inlines as __always_inline 2009-01-13 18:56:30 +01:00
__fls.h x86, generic: mark complex bitops.h inlines as __always_inline 2009-01-13 18:56:30 +01:00
arch_hweight.h arch, hweight: Fix compilation errors 2010-05-04 10:25:27 -07:00
atomic.h Add #includes needed to permit the removal of asm/system.h 2012-03-28 18:30:03 +01:00
builtin-__ffs.h generic: Implement generic ffs/fls using __builtin_* functions 2012-09-14 17:15:41 +01:00
builtin-__fls.h generic: Implement generic ffs/fls using __builtin_* functions 2012-09-14 17:15:41 +01:00
builtin-ffs.h generic: Implement generic ffs/fls using __builtin_* functions 2012-09-14 17:15:41 +01:00
builtin-fls.h generic: Implement generic ffs/fls using __builtin_* functions 2012-09-14 17:15:41 +01:00
const_hweight.h bitops: Optimize hweight() by making use of compile-time evaluation 2010-04-06 15:52:11 -07:00
ext2-atomic-setbit.h asm-generic: add another generic ext2 atomic bitops 2011-07-26 16:49:46 -07:00
ext2-atomic.h asm-generic: add another generic ext2 atomic bitops 2011-07-26 16:49:46 -07:00
ffs.h
ffz.h
find.h bitops: add #ifndef for each of find bitops 2011-05-26 17:12:38 -07:00
fls64.h x86, generic: mark complex bitops.h inlines as __always_inline 2009-01-13 18:56:30 +01:00
fls.h x86, generic: mark complex bitops.h inlines as __always_inline 2009-01-13 18:56:30 +01:00
hweight.h bitops: Optimize hweight() by making use of compile-time evaluation 2010-04-06 15:52:11 -07:00
le.h bitops: add #ifndef for each of find bitops 2011-05-26 17:12:38 -07:00
lock.h bitops: introduce lock ops 2007-10-18 14:37:29 -07:00
non-atomic.h define first set of BIT* macros 2007-10-19 11:53:42 -07:00
sched.h