aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/sched_fair.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c
index 01859f662ab7..62b057603f07 100644
--- a/kernel/sched_fair.c
+++ b/kernel/sched_fair.c
@@ -259,6 +259,7 @@ static u64 __sched_vslice(unsigned long rq_weight, unsigned long nr_running)
259{ 259{
260 u64 vslice = __sched_period(nr_running); 260 u64 vslice = __sched_period(nr_running);
261 261
262 vslice *= NICE_0_LOAD;
262 do_div(vslice, rq_weight); 263 do_div(vslice, rq_weight);
263 264
264 return vslice; 265 return vslice;