diff options
-rw-r--r-- | include/asm-alpha/bitops.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-alpha/bitops.h b/include/asm-alpha/bitops.h index 3a0cbeb03fa1..9e71201000d5 100644 --- a/include/asm-alpha/bitops.h +++ b/include/asm-alpha/bitops.h | |||
@@ -324,7 +324,7 @@ static inline int fls64(unsigned long x) | |||
324 | { | 324 | { |
325 | unsigned long t, a, r; | 325 | unsigned long t, a, r; |
326 | 326 | ||
327 | t = __kernel_cmpbge (x, 0x0101010101010101); | 327 | t = __kernel_cmpbge (x, 0x0101010101010101UL); |
328 | a = __flsm1_tab[t]; | 328 | a = __flsm1_tab[t]; |
329 | t = __kernel_extbl (x, a); | 329 | t = __kernel_extbl (x, a); |
330 | r = a*8 + __flsm1_tab[t] + (x != 0); | 330 | r = a*8 + __flsm1_tab[t] + (x != 0); |