ia64/xen-unstable

changeset 18692:ecfb1637cef9

[IA64] Fix an ia64 cpufreq driver bug

Add record current cpu freq whenever cpufreq logic change cpu freq
so that cpufreq can make correct freq transfer decision next time.

Signed-off-by: Liu, Jinsong <jinsong.liu@intel.com>
author Isaku Yamahata <yamahata@valinux.co.jp>
date Tue Oct 28 12:20:27 2008 +0900 (2008-10-28)
parents b0426fc080f3
children ba163d6dc986
files xen/arch/ia64/xen/cpufreq/cpufreq.c
line diff
     1.1 --- a/xen/arch/ia64/xen/cpufreq/cpufreq.c	Fri Oct 24 13:49:58 2008 +0900
     1.2 +++ b/xen/arch/ia64/xen/cpufreq/cpufreq.c	Tue Oct 28 12:20:27 2008 +0900
     1.3 @@ -154,6 +154,7 @@ processor_set_freq (struct acpi_cpufreq_
     1.4  	cpufreq_statistic_update(cpu, data->acpi_data->state, state);
     1.5  
     1.6  	data->acpi_data->state = state;
     1.7 +	policy->cur = data->freq_table[state].frequency;
     1.8  
     1.9  	return 0;
    1.10  }