]> git.baikalelectronics.ru Git - kernel.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)
commit74dfe87716d4d93bc587c980bbe63bf94765758c
treefc0bfcedd17e63cfd7aca3a12d07a4c4da931070
parentee7f5d6a77955ce1f38762042918123c250a4bfd
[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