summaryrefslogtreecommitdiffstats
path: root/include/asm-alpha/bitops.h
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-07-26 18:34:39 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-26 20:11:57 +0200
commitd5c03726a7d0700222fe3c134c6ef834040974c5 (patch)
tree6a178e9ad8c956e0b7b2fd894522e09c30286187 /include/asm-alpha/bitops.h
parentia64 time.c: ANSIfy (diff)
downloadlinux-d5c03726a7d0700222fe3c134c6ef834040974c5.tar.xz
linux-d5c03726a7d0700222fe3c134c6ef834040974c5.zip
alpha: long constant
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--include/asm-alpha/bitops.h2
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)
{
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);