diff options
author | Jan Beulich <jbeulich@suse.com> | 2011-11-08 10:31:47 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2011-11-08 10:31:47 +0100 |
commit | 8996e454310d4fa3f587b65ccfe57e366e68a204 (patch) | |
tree | cc54784d70d8cef67db4152d7812b116a1b1b760 /xen/common/sched_credit.c | |
parent | 488355d213f20832ee5699e136fbf957a97d5f5f (diff) | |
download | xen-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/sched_credit.c')
-rw-r--r-- | xen/common/sched_credit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/common/sched_credit.c b/xen/common/sched_credit.c index 4a50ba78a2..4fa6140da5 100644 --- a/xen/common/sched_credit.c +++ b/xen/common/sched_credit.c @@ -1246,7 +1246,7 @@ csched_load_balance(struct csched_private *prv, int cpu, cpumask_clear_cpu(cpu, &workers); peer_cpu = cpu; - while ( !cpus_empty(workers) ) + while ( !cpumask_empty(&workers) ) { peer_cpu = cpumask_cycle(peer_cpu, &workers); cpumask_clear_cpu(peer_cpu, &workers); |