diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-08-07 12:38:41 +0200 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-08-07 12:38:41 +0200 |
commit | 242898be7a1921f646ca529ddc26d7337c69922f (patch) | |
tree | 674adf64ca6254318dab5bcd428ebe8ac73957ff /include/net | |
parent | Merge branch 'master' into upstream (diff) | |
parent | Linux v2.6.18-rc4 (diff) | |
download | linux-242898be7a1921f646ca529ddc26d7337c69922f.tar.xz linux-242898be7a1921f646ca529ddc26d7337c69922f.zip |
Merge branch 'master' into upstream
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/red.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/red.h b/include/net/red.h index 5ccdbb3d4722..a4eb37946f2c 100644 --- a/include/net/red.h +++ b/include/net/red.h @@ -212,7 +212,7 @@ static inline unsigned long red_calc_qavg_from_idle_time(struct red_parms *p) * Seems, it is the best solution to * problem of too coarse exponent tabulation. */ - us_idle = (p->qavg * us_idle) >> p->Scell_log; + us_idle = (p->qavg * (u64)us_idle) >> p->Scell_log; if (us_idle < (p->qavg >> 1)) return p->qavg - us_idle; |