aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/bitops.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/include/asm/bitops.h')
-rw-r--r--arch/arm/include/asm/bitops.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/bitops.h b/arch/arm/include/asm/bitops.h
index 338ff19ae44..7b1bb2bbaf8 100644
--- a/arch/arm/include/asm/bitops.h
+++ b/arch/arm/include/asm/bitops.h
@@ -285,7 +285,7 @@ static inline int fls(int x)
285 if (__builtin_constant_p(x)) 285 if (__builtin_constant_p(x))
286 return constant_fls(x); 286 return constant_fls(x);
287 287
288 asm("clz\t%0, %1" : "=r" (ret) : "r" (x) : "cc"); 288 asm("clz\t%0, %1" : "=r" (ret) : "r" (x));
289 ret = 32 - ret; 289 ret = 32 - ret;
290 return ret; 290 return ret;
291} 291}