Nicolas Pitre 94fc733664 [ARM] 5339/1: fix __fls() on ARM
Commit 0c65f459ce6c intended to fix truncation issues with fls() on
ARMv5+ by renaming it to __fls() and wrapping it into a C function.
However that didn't take into account the fact that __fls() already
already had different semantics in the kernel.

Let's move the __fls() code into fls() function directly, and redefine
__fls() with the appropriate semantics.  While at it, bring a generic
__fls() definition for pre ARMv5 too.

Signed-off-by: Nicolas Pitre <nico@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2008-12-04 09:21:55 +00:00
..
2008-12-04 09:21:55 +00:00
2008-10-01 16:41:10 +01:00
2008-09-13 21:35:55 +01:00
2008-10-09 21:31:56 +01:00
2008-09-06 10:35:51 +01:00
2008-09-04 09:46:11 +01:00
2008-09-06 10:35:51 +01:00
2008-09-06 12:10:45 +01:00