Change cpufreq_controller from meanless FREQCTL_none to FREQCTL_xen Signed-off-by: Liu Jinsong diff -r 0aac24c765e8 xen/common/domain.c --- a/xen/common/domain.c Thu Jul 24 09:54:16 2008 +0800 +++ b/xen/common/domain.c Fri Jul 25 08:15:51 2008 +0800 @@ -50,7 +50,7 @@ static void __init setup_cpufreq_option( else if ( !strcmp(str, "xen") ) { xen_processor_pmbits |= XEN_PROCESSOR_PM_PX; - cpufreq_controller = FREQCTL_none; + cpufreq_controller = FREQCTL_xen; } } custom_param("cpufreq", setup_cpufreq_option); diff -r 0aac24c765e8 xen/include/xen/sched.h --- a/xen/include/xen/sched.h Thu Jul 24 09:54:16 2008 +0800 +++ b/xen/include/xen/sched.h Fri Jul 25 08:13:59 2008 +0800 @@ -541,7 +541,7 @@ static inline void vcpu_unblock(struct v #define need_iommu(d) ((d)->need_iommu && !(d)->is_hvm) extern enum cpufreq_controller { - FREQCTL_none, FREQCTL_dom0_kernel + FREQCTL_none, FREQCTL_dom0_kernel, FREQCTL_xen } cpufreq_controller; #endif /* __SCHED_H__ */