diff options
author | Nicolas Pitre <nico@cam.org> | 2008-12-04 03:59:41 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-12-04 09:21:55 +0000 |
commit | 94fc7336646b392234c0fafea5d696d020c3677c (patch) | |
tree | 95137c3233bf0d4f07a52e8529122dfa284a5353 /include/asm-xtensa/variant-fsf | |
parent | 82676d76252680fc035247fd4cfdb07ffce5db52 (diff) |
[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>
Diffstat (limited to 'include/asm-xtensa/variant-fsf')
0 files changed, 0 insertions, 0 deletions