diff options
author | Olof Johansson <olof@lixom.net> | 2012-05-10 00:21:11 -0700 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2012-05-10 00:23:17 -0700 |
commit | caafc71b1a25096ef74904adb19d37e5c6a282dc (patch) | |
tree | 17f0602c6e04fdec78c50a1c2cbd70a0303ed2c6 /include/net/red.h | |
parent | af568679f51de779d0e9ad7d8360dc7727da546d (diff) | |
parent | bcd59b0f0c14b0584c1213ee3b53d5f84517c419 (diff) | |
download | kernel_goldelico_gta04-caafc71b1a25096ef74904adb19d37e5c6a282dc.zip kernel_goldelico_gta04-caafc71b1a25096ef74904adb19d37e5c6a282dc.tar.gz kernel_goldelico_gta04-caafc71b1a25096ef74904adb19d37e5c6a282dc.tar.bz2 |
Merge tag 'v3.5-soc' of git://gitorious.org/linux-davinci/linux-davinci into next/drivers
DaVinci SoC updates for v3.5
This pull request updates the DaVinci SoC support to implement DEBUG_LL port
choice and optimizes the DMA ISR by removing unnecessary register reads.
* tag 'v3.5-soc' of git://gitorious.org/linux-davinci/linux-davinci:
ARM: davinci: optimize the DMA ISR
ARM: davinci: implement DEBUG_LL port choice
+ sync with Linux 3.4-rc6
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'include/net/red.h')
-rw-r--r-- | include/net/red.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/net/red.h b/include/net/red.h index 77d4c37..ef46058 100644 --- a/include/net/red.h +++ b/include/net/red.h @@ -245,7 +245,7 @@ static inline unsigned long red_calc_qavg_from_idle_time(const struct red_parms * * dummy packets as a burst after idle time, i.e. * - * p->qavg *= (1-W)^m + * v->qavg *= (1-W)^m * * This is an apparently overcomplicated solution (f.e. we have to * precompute a table to make this calculation in reasonable time) @@ -279,7 +279,7 @@ static inline unsigned long red_calc_qavg_no_idle_time(const struct red_parms *p unsigned int backlog) { /* - * NOTE: p->qavg is fixed point number with point at Wlog. + * NOTE: v->qavg is fixed point number with point at Wlog. * The formula below is equvalent to floating point * version: * @@ -390,7 +390,7 @@ static inline void red_adaptative_algo(struct red_parms *p, struct red_vars *v) if (red_is_idling(v)) qavg = red_calc_qavg_from_idle_time(p, v); - /* p->qavg is fixed point number with point at Wlog */ + /* v->qavg is fixed point number with point at Wlog */ qavg >>= p->Wlog; if (qavg > p->target_max && p->max_P <= MAX_P_MAX) |