From: Al Viro Date: Thu, 26 Jul 2007 16:34:39 +0000 (+0100) Subject: alpha: long constant X-Git-Tag: v2.6.23-rc2~246 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5c03726a7d0700222fe3c134c6ef834040974c5;p=linux-2.6 alpha: long constant Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- 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);