commit | 79cda75a107da0d49732b5cb642b456264dd7e0e | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Tue Aug 07 10:45:47 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Aug 07 16:24:55 2012 -0700 |
tree | 7cffe187b2ff7732f6002d7fc373f87cb93837b9 | |
parent | 425f09ab7d1c9da6ca4137dd639cb6fe3f8a88f3 [diff] |
fib: use __fls() on non null argument __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>