ia64/xen-unstable

changeset 18721:c3362551a424

Cpufreq statistic update for SW_ANY coordination

Signed-off-by: Liu, Jinsong <jinsong.liu@intel.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Oct 27 10:06:58 2008 +0000 (2008-10-27)
parents 5c48ab6b1977
children 3ff349c7aeb7
files xen/arch/x86/acpi/cpufreq/cpufreq.c
line diff
     1.1 --- a/xen/arch/x86/acpi/cpufreq/cpufreq.c	Mon Oct 27 10:03:17 2008 +0000
     1.2 +++ b/xen/arch/x86/acpi/cpufreq/cpufreq.c	Mon Oct 27 10:06:58 2008 +0000
     1.3 @@ -370,7 +370,7 @@ static int acpi_cpufreq_target(struct cp
     1.4      if (!check_freqs(cmd.mask, freqs.new, data))
     1.5          return -EAGAIN;
     1.6  
     1.7 -    for_each_cpu_mask(j, cmd.mask)
     1.8 +    for_each_cpu_mask(j, online_policy_cpus)
     1.9          cpufreq_statistic_update(j, perf->state, next_perf_state);
    1.10  
    1.11      perf->state = next_perf_state;