aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/cpufreq.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/cpufreq/cpufreq.c')
-rw-r--r--drivers/cpufreq/cpufreq.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c
index b730d6709529..613314851ecc 100644
--- a/drivers/cpufreq/cpufreq.c
+++ b/drivers/cpufreq/cpufreq.c
@@ -287,7 +287,7 @@ static void adjust_jiffies(unsigned long val, struct cpufreq_freqs *ci)
287 if (!l_p_j_ref_freq) { 287 if (!l_p_j_ref_freq) {
288 l_p_j_ref = loops_per_jiffy; 288 l_p_j_ref = loops_per_jiffy;
289 l_p_j_ref_freq = ci->old; 289 l_p_j_ref_freq = ci->old;
290 dprintk("saving %lu as reference value for loops_per_jiffy;" 290 dprintk("saving %lu as reference value for loops_per_jiffy; "
291 "freq is %u kHz\n", l_p_j_ref, l_p_j_ref_freq); 291 "freq is %u kHz\n", l_p_j_ref, l_p_j_ref_freq);
292 } 292 }
293 if ((val == CPUFREQ_PRECHANGE && ci->old < ci->new) || 293 if ((val == CPUFREQ_PRECHANGE && ci->old < ci->new) ||
@@ -295,7 +295,7 @@ static void adjust_jiffies(unsigned long val, struct cpufreq_freqs *ci)
295 (val == CPUFREQ_RESUMECHANGE || val == CPUFREQ_SUSPENDCHANGE)) { 295 (val == CPUFREQ_RESUMECHANGE || val == CPUFREQ_SUSPENDCHANGE)) {
296 loops_per_jiffy = cpufreq_scale(l_p_j_ref, l_p_j_ref_freq, 296 loops_per_jiffy = cpufreq_scale(l_p_j_ref, l_p_j_ref_freq,
297 ci->new); 297 ci->new);
298 dprintk("scaling loops_per_jiffy to %lu" 298 dprintk("scaling loops_per_jiffy to %lu "
299 "for frequency %u kHz\n", loops_per_jiffy, ci->new); 299 "for frequency %u kHz\n", loops_per_jiffy, ci->new);
300 } 300 }
301} 301}
@@ -1313,7 +1313,7 @@ static int cpufreq_resume(struct sys_device * sysdev)
1313 struct cpufreq_freqs freqs; 1313 struct cpufreq_freqs freqs;
1314 1314
1315 if (!(cpufreq_driver->flags & CPUFREQ_PM_NO_WARN)) 1315 if (!(cpufreq_driver->flags & CPUFREQ_PM_NO_WARN))
1316 dprintk("Warning: CPU frequency" 1316 dprintk("Warning: CPU frequency "
1317 "is %u, cpufreq assumed %u kHz.\n", 1317 "is %u, cpufreq assumed %u kHz.\n",
1318 cur_freq, cpu_policy->cur); 1318 cur_freq, cpu_policy->cur);
1319 1319