commit | 048fa2df92c325cb4425dccd66c8922c8342b507 | [log] [tgz] |
---|---|---|
author | Catalin Marinas <catalin.marinas@arm.com> | Wed Sep 12 22:00:53 2012 +0100 |
committer | Catalin Marinas <catalin.marinas@arm.com> | Fri Sep 14 17:15:41 2012 +0100 |
tree | a76ddbd3f05752f27e0867906a34e102cb76b4e4 | |
parent | 0753f70f07fbbd23a48d61ffea37028bd0bd6c7d [diff] |
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>