aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched_rt.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sched_rt.c')
-rw-r--r--kernel/sched_rt.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/sched_rt.c b/kernel/sched_rt.c
index 57a10842afa1..3023fd1ef364 100644
--- a/kernel/sched_rt.c
+++ b/kernel/sched_rt.c
@@ -1608,9 +1608,6 @@ static void set_cpus_allowed_rt(struct task_struct *p,
1608 1608
1609 update_rt_migration(&rq->rt); 1609 update_rt_migration(&rq->rt);
1610 } 1610 }
1611
1612 cpumask_copy(&p->cpus_allowed, new_mask);
1613 p->rt.nr_cpus_allowed = weight;
1614} 1611}
1615 1612
1616/* Assumes rq->lock is held */ 1613/* Assumes rq->lock is held */