X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Fasm-alpha%2Fbitops.h;h=9e71201000d58eb8943650bc14c938aca1850513;hb=347c53dca73fca317d57781f510f5ff4f6c0d0d7;hp=3a0cbeb03fa17e01698796ab5edf48fe3af62ab7;hpb=7dfb1716d717e41c07410bab52760d865caee12b;p=powerpc.git diff --git a/include/asm-alpha/bitops.h b/include/asm-alpha/bitops.h index 3a0cbeb03f..9e71201000 100644 --- a/include/asm-alpha/bitops.h +++ b/include/asm-alpha/bitops.h @@ -324,7 +324,7 @@ static inline int fls64(unsigned long x) { unsigned long t, a, r; - t = __kernel_cmpbge (x, 0x0101010101010101); + t = __kernel_cmpbge (x, 0x0101010101010101UL); a = __flsm1_tab[t]; t = __kernel_extbl (x, a); r = a*8 + __flsm1_tab[t] + (x != 0);