projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag '9p-for-5.11-rc1' of git://github.com/martinetd/linux
[linux-2.6-microblaze.git]
/
arch
/
arc
/
include
/
asm
/
bitops.h
diff --git
a/arch/arc/include/asm/bitops.h
b/arch/arc/include/asm/bitops.h
index
c6606f4
..
fb98440
100644
(file)
--- a/
arch/arc/include/asm/bitops.h
+++ b/
arch/arc/include/asm/bitops.h
@@
-243,10
+243,8
@@
static inline int constant_fls(unsigned int x)
x <<= 2;
r -= 2;
}
- if (!(x & 0x80000000u)) {
- x <<= 1;
+ if (!(x & 0x80000000u))
r -= 1;
- }
return r;
}