]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] fix fls() for 64-bit arguments
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 23 Jul 2008 22:35:22 +0000 (15:35 -0700)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 26 Jul 2008 14:23:25 +0000 (15:23 +0100)
commit0c65f459ce6c8bd873a61b3ae1e57858ab1debf3
treefc0bfcedd17e63cfd7aca3a12d07a4c4da931070
parent9d9fa83beadf0a0c0ee2cd45be6e4a25cb536b67
[ARM] fix fls() for 64-bit arguments

arm's fls() is implemented as a macro, causing it to misbehave when passed
64-bit arguments.  Fix.

Cc: Nickolay Vinogradov <nickolay@protei.ru>
Tested-by: Krzysztof Halasa <khc@pm.waw.pl>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/bitops.h