diff options
author | Jan Beulich <jbeulich@suse.com> | 2011-11-08 10:36:10 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2011-11-08 10:36:10 +0100 |
commit | 22bdce1c04881c0e909817ee11f7cecd6c852d8c (patch) | |
tree | 445ece053822f839c700f30d0159b4b73da68465 /xen/drivers/acpi | |
parent | fe9ff5a9d54cced306aefaba126340e0c596717e (diff) | |
download | xen-22bdce1c04881c0e909817ee11f7cecd6c852d8c.tar.gz xen-22bdce1c04881c0e909817ee11f7cecd6c852d8c.tar.bz2 xen-22bdce1c04881c0e909817ee11f7cecd6c852d8c.zip |
eliminate first_cpu() etc
This includes the conversion from for_each_cpu_mask() to for_each-cpu().
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/drivers/acpi')
-rw-r--r-- | xen/drivers/acpi/pmstat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/drivers/acpi/pmstat.c b/xen/drivers/acpi/pmstat.c index c94a406653..dbc1c44a61 100644 --- a/xen/drivers/acpi/pmstat.c +++ b/xen/drivers/acpi/pmstat.c @@ -223,7 +223,7 @@ static int get_cpufreq_para(struct xen_sysctl_pm_op *op) if ( !(affected_cpus = xzalloc_array(uint32_t, op->u.get_para.cpu_num)) ) return -ENOMEM; - for_each_cpu_mask(cpu, *policy->cpus) + for_each_cpu(cpu, policy->cpus) affected_cpus[j++] = cpu; ret = copy_to_guest(op->u.get_para.affected_cpus, affected_cpus, op->u.get_para.cpu_num); |