aboutsummaryrefslogtreecommitdiff
path: root/tools/include/asm-generic/bitops/fls.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/include/asm-generic/bitops/fls.h')
-rw-r--r--tools/include/asm-generic/bitops/fls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/include/asm-generic/bitops/fls.h b/tools/include/asm-generic/bitops/fls.h
index 753aecaab641..b168bb10e1be 100644
--- a/tools/include/asm-generic/bitops/fls.h
+++ b/tools/include/asm-generic/bitops/fls.h
@@ -10,7 +10,7 @@
* Note fls(0) = 0, fls(1) = 1, fls(0x80000000) = 32.
*/
-static __always_inline int fls(int x)
+static __always_inline int fls(unsigned int x)
{
int r = 32;