mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
Merge branch 'lsk-v3.10-big.LITTLE' into linux-linaro-lsk
This commit is contained in:
@@ -3841,8 +3841,9 @@ __setscheduler(struct rq *rq, struct task_struct *p, int policy, int prio)
|
||||
if (rt_prio(p->prio)) {
|
||||
p->sched_class = &rt_sched_class;
|
||||
#ifdef CONFIG_SCHED_HMP
|
||||
if (cpumask_equal(&p->cpus_allowed, cpu_all_mask))
|
||||
do_set_cpus_allowed(p, &hmp_slow_cpu_mask);
|
||||
if (!cpumask_empty(&hmp_slow_cpu_mask))
|
||||
if (cpumask_equal(&p->cpus_allowed, cpu_all_mask))
|
||||
do_set_cpus_allowed(p, &hmp_slow_cpu_mask);
|
||||
#endif
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user