[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [IA64] Fix an ia64 cpufreq driver bug



# HG changeset patch
# User Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
# Date 1225164027 -32400
# Node ID ecfb1637cef9241f04d4f3ee6aac1e923537bef0
# Parent  b0426fc080f3560eb37fb10597f79f92aa2c86c3
[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@xxxxxxxxx>
---
 xen/arch/ia64/xen/cpufreq/cpufreq.c |    1 +
 1 files changed, 1 insertion(+)

diff -r b0426fc080f3 -r ecfb1637cef9 xen/arch/ia64/xen/cpufreq/cpufreq.c
--- a/xen/arch/ia64/xen/cpufreq/cpufreq.c       Fri Oct 24 13:49:58 2008 +0900
+++ b/xen/arch/ia64/xen/cpufreq/cpufreq.c       Tue Oct 28 12:20:27 2008 +0900
@@ -154,6 +154,7 @@ processor_set_freq (struct acpi_cpufreq_
        cpufreq_statistic_update(cpu, data->acpi_data->state, state);
 
        data->acpi_data->state = state;
+       policy->cur = data->freq_table[state].frequency;
 
        return 0;
 }

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.