aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/schedule.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2011-11-08 10:31:47 +0100
committerJan Beulich <jbeulich@suse.com>2011-11-08 10:31:47 +0100
commit8996e454310d4fa3f587b65ccfe57e366e68a204 (patch)
treecc54784d70d8cef67db4152d7812b116a1b1b760 /xen/common/schedule.c
parent488355d213f20832ee5699e136fbf957a97d5f5f (diff)
downloadxen-8996e454310d4fa3f587b65ccfe57e366e68a204.tar.gz
xen-8996e454310d4fa3f587b65ccfe57e366e68a204.tar.bz2
xen-8996e454310d4fa3f587b65ccfe57e366e68a204.zip
eliminate cpus_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/schedule.c')
-rw-r--r--xen/common/schedule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/common/schedule.c b/xen/common/schedule.c
index bcdae7190a..b22cf67fe5 100644
--- a/xen/common/schedule.c
+++ b/xen/common/schedule.c
@@ -550,7 +550,7 @@ int cpu_disable_scheduler(unsigned int cpu)
vcpu_schedule_lock_irq(v);
cpumask_and(&online_affinity, v->cpu_affinity, c->cpu_valid);
- if ( cpus_empty(online_affinity) &&
+ if ( cpumask_empty(&online_affinity) &&
cpumask_test_cpu(cpu, v->cpu_affinity) )
{
printk("Breaking vcpu affinity for domain %d vcpu %d\n",