diff options
author | Eric Dumazet <dada1@cosmosbay.com> | 2008-01-03 20:40:01 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 15:00:35 -0800 |
commit | 789675e216617b1331875c42a81f58227a06df91 (patch) | |
tree | bec5c846982ef2ebe5e6970242be146531add9b1 /lib | |
parent | e870a8efcddaaa3da7e180b6ae21239fb96aa2bb (diff) | |
download | kernel-crypto-789675e216617b1331875c42a81f58227a06df91.tar.gz kernel-crypto-789675e216617b1331875c42a81f58227a06df91.tar.xz kernel-crypto-789675e216617b1331875c42a81f58227a06df91.zip |
[NET]: Avoid divides in net/core/gen_estimator.c
We can void divides (as seen with CONFIG_CC_OPTIMIZE_FOR_SIZE=y on x86)
changing ((HZ<<idx)/4) to ((HZ/4) << idx)
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions