cpufreq/linux/drivers/cpufreq cpufreq.c,1.4,1.5
Update of /mnt/src/cvsroot/cpufreq/linux/drivers/cpufreq In directory flint:/tmp/cvs-serv5291/linux/drivers/cpufreq
Modified Files:
cpufreq.c
Log Message:
The SA1100 and SA1110 platforms can handle situations well where the CPU frequency is different to the value the cpufreq (and timing) code thinks it is, e.g. when resuming from sleep. So, remove the flags noting the opposite.
Signed-off-by Dominik Brodowski <[email protected]>
Index: cpufreq.c
===================================================================
RCS file: /mnt/src/cvsroot/cpufreq/linux/drivers/cpufreq/cpufreq.c,v retrieving revision 1.4
retrieving revision 1.5
cpufreq.c +0 -9
@@ -157,9 +157,6 @@ (likely(cpufreq_cpu_data[freqs->cpu]->cur)) && (unlikely(freqs->old != cpufreq_cpu_data[freqs->cpu]->cur))) { -if (cpufreq_driver->flags &CPUFREQ_PANIC_OUTOFSYNC ) -panic ("CPU Frequency is out of sync." ); -printk (KERN_WARNING "Warning: CPU frequency is %u, " "cpufreq assumed %u kHz.\n" , freqs->old, cpufreq_cpu_data[freqs->cpu]->cur); freqs->old = cpufreq_cpu_data[freqs->cpu]->cur;
@@ -603,9 +600,6 @@ {struct cpufreq_freqs freqs; -if (cpufreq_driver->flags &CPUFREQ_PANIC_OUTOFSYNC ) -panic ("CPU Frequency is out of sync." ); -printk (KERN_WARNING "Warning: CPU frequency out of sync: cpufreq and timing " "core thinks of %u, is %u kHz.\n" , old_freq, new_freq);
@@ -695,9 +689,6 @@if (unlikely (cur_freq != cpu_policy->cur)) {struct cpufreq_freqs freqs; - -if (cpufreq_driver->flags &CPUFREQ_PANIC_RESUME_OUTOFSYNC ) -panic ("CPU Frequency is out of sync." );printk (KERN_WARNING "Warning: CPU frequency is %u, " "cpufreq assumed %u kHz.\n" , cur_freq, cpu_policy->cur);