Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 105629
b: refs/heads/master
c: 58838cf
h: refs/heads/master
i:
  105627: 5f5b0c5
v: v3
  • Loading branch information
Peter Zijlstra authored and Ingo Molnar committed Jul 24, 2008
1 parent 537cdaa commit b66804d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 422037bafde8083acc3c539ceba3dfc60a04110c
refs/heads/master: 58838cf3ca3337d76141c33d6c68376490263468
2 changes: 1 addition & 1 deletion trunk/kernel/sched_rt.c
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ static int do_balance_runtime(struct rt_rq *rt_rq)

diff = iter->rt_runtime - iter->rt_time;
if (diff > 0) {
do_div(diff, weight);
diff = div_u64((u64)diff, weight);
if (rt_rq->rt_runtime + diff > rt_period)
diff = rt_period - rt_rq->rt_runtime;
iter->rt_runtime -= diff;
Expand Down

0 comments on commit b66804d

Please sign in to comment.