diff options
Diffstat (limited to 'kernel/sched_fair.c')
-rw-r--r-- | kernel/sched_fair.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c index c078f1af721c..4d6b7e2df2aa 100644 --- a/kernel/sched_fair.c +++ b/kernel/sched_fair.c | |||
@@ -1047,7 +1047,7 @@ static void task_new_fair(struct rq *rq, struct task_struct *p) | |||
1047 | * -granularity/2, so initialize the task with that: | 1047 | * -granularity/2, so initialize the task with that: |
1048 | */ | 1048 | */ |
1049 | if (sysctl_sched_features & SCHED_FEAT_START_DEBIT) | 1049 | if (sysctl_sched_features & SCHED_FEAT_START_DEBIT) |
1050 | p->se.wait_runtime = -(sysctl_sched_granularity / 2); | 1050 | p->se.wait_runtime = -((long)sysctl_sched_granularity / 2); |
1051 | 1051 | ||
1052 | __enqueue_entity(cfs_rq, se); | 1052 | __enqueue_entity(cfs_rq, se); |
1053 | } | 1053 | } |