commit | 7d9dff22e8ad06ad330968c9e3d3a2fb55a5f9c3 | [log] [tgz] |
---|---|---|
author | Alexander van Heukelum <heukelum@mailshack.com> | Sat Mar 15 18:30:57 2008 +0100 |
committer | Ingo Molnar <mingo@elte.hu> | Sat Apr 26 19:21:16 2008 +0200 |
tree | 1c65cd4cdf14f42d59e72514991c4b04278db8d5 | |
parent | 12d9c8420b9daa1da3d9e090640fb24bcd0deba2 [diff] |
generic: introduce a generic __fls implementation Add a generic __fls implementation in the same spirit as the generic __ffs one. It finds the last (most significant) set bit in the given long value. Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm> Signed-off-by: Ingo Molnar <mingo@elte.hu>