aboutsummaryrefslogtreecommitdiff
path: root/include/asm-generic/bitops/builtin-ffs.h
AgeCommit message (Collapse)Author
2012-09-14generic: Implement generic ffs/fls using __builtin_* functionsCatalin Marinas
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>