git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
425f09a
)
fib: use __fls() on non null argument
author
Eric Dumazet
<edumazet@google.com>
Tue, 7 Aug 2012 10:45:47 +0000
(10:45 +0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 7 Aug 2012 23:24:55 +0000
(16:24 -0700)
__fls(x) is a bit faster than fls(x), granted we know x is non null.
As Ben Hutchings pointed out, fls(x) = __fls(x) + 1
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found