diff options
author | Tony Luck <tony.luck@intel.com> | 2005-10-29 00:28:54 +0200 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2005-10-29 00:28:54 +0200 |
commit | fb5f329d58c67cadc8ff07193ea7556923d49d1b (patch) | |
tree | f26147586d353afc5f5979693769379186280736 /drivers | |
parent | Pull optimize-ptrace-threads into release branch (diff) | |
parent | Linux v2.6.14 (diff) | |
download | linux-fb5f329d58c67cadc8ff07193ea7556923d49d1b.tar.xz linux-fb5f329d58c67cadc8ff07193ea7556923d49d1b.zip |
Auto-update from upstream
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/cpufreq/cpufreq_conservative.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/cpufreq/cpufreq_conservative.c b/drivers/cpufreq/cpufreq_conservative.c index e1df376e709e..2ed5c4363b53 100644 --- a/drivers/cpufreq/cpufreq_conservative.c +++ b/drivers/cpufreq/cpufreq_conservative.c @@ -315,9 +315,9 @@ static void dbs_check_cpu(int cpu) policy = this_dbs_info->cur_policy; if ( init_flag == 0 ) { - for ( /* NULL */; init_flag < NR_CPUS; init_flag++ ) { - dbs_info = &per_cpu(cpu_dbs_info, init_flag); - requested_freq[cpu] = dbs_info->cur_policy->cur; + for_each_online_cpu(j) { + dbs_info = &per_cpu(cpu_dbs_info, j); + requested_freq[j] = dbs_info->cur_policy->cur; } init_flag = 1; } |