projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f6d98c
)
htb: use PSCHED_TICKS2NS()
author
Jiri Pirko
<jiri@resnulli.us>
Tue, 12 Feb 2013 00:11:59 +0000
(
00:11
+0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 12 Feb 2013 23:59:44 +0000
(18:59 -0500)
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_htb.c
patch
|
blob
|
blame
|
history
diff --git
a/net/sched/sch_htb.c
b/net/sched/sch_htb.c
index 79e8ed4ac7ce7de355895b63fc06991be0b6af26..14a83dc0bfff90f7b01597b964ee7c8eb4e0798b 100644
(file)
--- a/
net/sched/sch_htb.c
+++ b/
net/sched/sch_htb.c
@@
-1512,8
+1512,8
@@
static int htb_change_class(struct Qdisc *sch, u32 classid,
htb_precompute_ratedata(&cl->rate);
htb_precompute_ratedata(&cl->ceil);
- cl->buffer =
hopt->buffer << PSCHED_SHIFT
;
- cl->cbuffer =
hopt->buffer << PSCHED_SHIFT
;
+ cl->buffer =
PSCHED_TICKS2NS(hopt->buffer)
;
+ cl->cbuffer =
PSCHED_TICKS2NS(hopt->buffer)
;
sch_tree_unlock(sch);