diff options
author | Jan Beulich <jbeulich@suse.com> | 2011-11-08 10:33:02 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2011-11-08 10:33:02 +0100 |
commit | d814eb02551c8d5150947bc5418eff42ec93a07e (patch) | |
tree | 1b7fae94255ff3e468d5f7ebb06c33e4daca6dfc /xen/common/sched_sedf.c | |
parent | 8996e454310d4fa3f587b65ccfe57e366e68a204 (diff) | |
download | xen-d814eb02551c8d5150947bc5418eff42ec93a07e.tar.gz xen-d814eb02551c8d5150947bc5418eff42ec93a07e.tar.bz2 xen-d814eb02551c8d5150947bc5418eff42ec93a07e.zip |
eliminate cpu_test_xyz()
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Diffstat (limited to 'xen/common/sched_sedf.c')
-rw-r--r-- | xen/common/sched_sedf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/common/sched_sedf.c b/xen/common/sched_sedf.c index 6fe7ffa8b2..dfb7ceef14 100644 --- a/xen/common/sched_sedf.c +++ b/xen/common/sched_sedf.c @@ -820,7 +820,7 @@ static struct task_slice sedf_do_schedule( /* Tasklet work (which runs in idle VCPU context) overrides all else. */ if ( tasklet_work_scheduled || (list_empty(runq) && list_empty(waitq)) || - unlikely(!cpu_isset(cpu, *SEDF_CPUONLINE(per_cpu(cpupool, cpu)))) ) + unlikely(!cpumask_test_cpu(cpu, SEDF_CPUONLINE(per_cpu(cpupool, cpu)))) ) { ret.task = IDLETASK(cpu); ret.time = SECONDS(1); |