mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 03:10:12 +00:00
alpha: long constant
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
8dc946307c
commit
d5c03726a7
1 changed files with 1 additions and 1 deletions
|
@ -324,7 +324,7 @@ static inline int fls64(unsigned long x)
|
||||||
{
|
{
|
||||||
unsigned long t, a, r;
|
unsigned long t, a, r;
|
||||||
|
|
||||||
t = __kernel_cmpbge (x, 0x0101010101010101);
|
t = __kernel_cmpbge (x, 0x0101010101010101UL);
|
||||||
a = __flsm1_tab[t];
|
a = __flsm1_tab[t];
|
||||||
t = __kernel_extbl (x, a);
|
t = __kernel_extbl (x, a);
|
||||||
r = a*8 + __flsm1_tab[t] + (x != 0);
|
r = a*8 + __flsm1_tab[t] + (x != 0);
|
||||||
|
|
Loading…
Reference in a new issue