summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/bitops/builtin-__fls.h
Commit message (Collapse)AuthorAgeFilesLines
* generic: Implement generic ffs/fls using __builtin_* functionsCatalin Marinas2012-09-141-0/+15
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>
OpenPOWER on IntegriCloud