alpha: long constant
authorAl Viro <viro@ftp.linux.org.uk>
Thu, 26 Jul 2007 16:34:39 +0000 (17:34 +0100)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 26 Jul 2007 18:11:57 +0000 (11:11 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-alpha/bitops.h

index 3a0cbeb03fa17e01698796ab5edf48fe3af62ab7..9e71201000d58eb8943650bc14c938aca1850513 100644 (file)
@@ -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);