Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 87385
b: refs/heads/master
c: 27d1172
h: refs/heads/master
i:
  87383: ccdb354
v: v3
  • Loading branch information
Ingo Molnar committed Mar 15, 2008
1 parent ed63047 commit d68f9c1
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: e89996ae3f9e88d4fd75751a15c10b19d197e702
refs/heads/master: 27d117266097101dcf79c4576903cdcdd0eabffc
2 changes: 1 addition & 1 deletion trunk/kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -1084,7 +1084,7 @@ calc_delta_mine(unsigned long delta_exec, unsigned long weight,
u64 tmp;

if (unlikely(!lw->inv_weight))
lw->inv_weight = (WMULT_CONST - lw->weight/2) / lw->weight + 1;
lw->inv_weight = (WMULT_CONST-lw->weight/2) / (lw->weight+1);

tmp = (u64)delta_exec * weight;
/*
Expand Down

0 comments on commit d68f9c1

Please sign in to comment.