From: Nicolas Pitre Date: Thu, 4 Dec 2008 02:59:41 +0000 (+0100) Subject: [ARM] 5339/1: fix __fls() on ARM X-Git-Tag: v2.6.28-rc8~34^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94fc7336646b392234c0fafea5d696d020c3677c;p=pandora-kernel.git [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 Signed-off-by: Russell King --- Reading git-diff-tree failed