summaryrefslogtreecommitdiff
path: root/kernel/sched/core.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2018-10-02 09:43:39 +0200
committerIngo Molnar <mingo@kernel.org>2018-10-02 09:43:39 +0200
commitb429f71bca5a4ddd914350a39572692e2ea211e0 (patch)
tree50cee6fb7b114ad89c778de87bcb44972b7326f5 /kernel/sched/core.c
parentace8031099f91480799b5929b4cccf2dcacc5136 (diff)
parent6fd98e775f24fd41520928d345f5db3ff52bb35d (diff)
downloadlwn-b429f71bca5a4ddd914350a39572692e2ea211e0.tar.gz
lwn-b429f71bca5a4ddd914350a39572692e2ea211e0.zip
Merge branch 'sched/urgent' into sched/core, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sched/core.c')
-rw-r--r--kernel/sched/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 625bc9897f62..ad97f3ba5ec5 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -1167,7 +1167,7 @@ void set_task_cpu(struct task_struct *p, unsigned int new_cpu)
if (task_cpu(p) != new_cpu) {
if (p->sched_class->migrate_task_rq)
- p->sched_class->migrate_task_rq(p);
+ p->sched_class->migrate_task_rq(p, new_cpu);
p->se.nr_migrations++;
rseq_migrate(p);
perf_event_task_migrate(p);