commit | 6501faf8c1bbaa51dc493f3681df016d2ebce833 | [log] [tgz] |
---|---|---|
author | Shaohua Li <shaohua.li@intel.com> | Sun Apr 27 13:46:56 2008 -0700 |
committer | Dave Jones <davej@redhat.com> | Mon Apr 28 16:27:08 2008 -0400 |
tree | f83148776a4abc3c27da39bef24a2eabb056a2de | |
parent | 30d221db4439973076953e2ed44344fa92d1d09f [diff] |
[CPUFREQ] state info wrong after resume Sometimes old_index != stat->last_index, see cpufreq_update_policy, bios can change cpu setting in resume. In my test, after resume cpu is in lowest speed, but the stat info shows cpu is in full speed. This patch makes the stat info correct after a resume. Signed-off-by: Shaohua Li <shaohua.li@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Dave Jones <davej@redhat.com>