summaryrefslogtreecommitdiff
path: root/include/asm-generic/bitops/fls.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-generic/bitops/fls.h')
-rw-r--r--include/asm-generic/bitops/fls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-generic/bitops/fls.h b/include/asm-generic/bitops/fls.h
index 753aecaab641..b168bb10e1be 100644
--- a/include/asm-generic/bitops/fls.h
+++ b/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;