aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/perfc.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/perfc.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/perfc.c')
-rw-r--r--xen/common/perfc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/common/perfc.c b/xen/common/perfc.c
index 3d30556ea6..81b41ba3d9 100644
--- a/xen/common/perfc.c
+++ b/xen/common/perfc.c
@@ -163,11 +163,11 @@ static int perfc_copy_info(XEN_GUEST_HANDLE_64(xen_sysctl_perfc_desc_t) desc,
unsigned int i, j, v;
/* We only copy the name and array-size information once. */
- if ( !cpus_equal(cpu_online_map, perfc_cpumap) )
+ if ( !cpumask_equal(&cpu_online_map, &perfc_cpumap) )
{
unsigned int nr_cpus;
perfc_cpumap = cpu_online_map;
- nr_cpus = cpus_weight(perfc_cpumap);
+ nr_cpus = cpumask_weight(&perfc_cpumap);
perfc_nbr_vals = 0;