projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
422037b
)
sched: clean up compiler warning
author
Peter Zijlstra
<a.p.zijlstra@chello.nl>
Thu, 24 Jul 2008 10:43:13 +0000
(12:43 +0200)
committer
Ingo Molnar
<mingo@elte.hu>
Thu, 24 Jul 2008 11:24:57 +0000
(13:24 +0200)
Reported-by: Daniel Walker <dwalker@mvista.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched_rt.c
patch
|
blob
|
history
diff --git
a/kernel/sched_rt.c
b/kernel/sched_rt.c
index 147004c651c09dcb44f51cff5f86a67296e77aaa..93ac8ee08271fe0d2bee0ca4ca28bb0d7e06c752 100644
(file)
--- a/
kernel/sched_rt.c
+++ b/
kernel/sched_rt.c
@@
-253,7
+253,7
@@
static int do_balance_runtime(struct rt_rq *rt_rq)
diff = iter->rt_runtime - iter->rt_time;
if (diff > 0) {
- d
o_div(
diff, weight);
+ d
iff = div_u64((u64)
diff, weight);
if (rt_rq->rt_runtime + diff > rt_period)
diff = rt_period - rt_rq->rt_runtime;
iter->rt_runtime -= diff;