diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-07-28 13:39:47 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-07-28 13:39:47 +0100 |
commit | bddc6f497ed57e1bf1f6d90756a6ad256606224d (patch) | |
tree | 545b013420610450b911a893a719cfa3550fefa7 | |
parent | a76bb0a4ff272ad9ac77b1f74d49e401d4e50cc6 (diff) | |
download | xen-bddc6f497ed57e1bf1f6d90756a6ad256606224d.tar.gz xen-bddc6f497ed57e1bf1f6d90756a6ad256606224d.tar.bz2 xen-bddc6f497ed57e1bf1f6d90756a6ad256606224d.zip |
Change cpufreq_controller from meanless FREQCTL_none to FREQCTL_xen
Signed-off-by: Liu Jinsong <jinsong.liu@intel.com>
-rw-r--r-- | xen/common/domain.c | 2 | ||||
-rw-r--r-- | xen/include/xen/sched.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/xen/common/domain.c b/xen/common/domain.c index b420b4b219..c8c7d19bd5 100644 --- a/xen/common/domain.c +++ b/xen/common/domain.c @@ -50,7 +50,7 @@ static void __init setup_cpufreq_option(char *str) 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 --git a/xen/include/xen/sched.h b/xen/include/xen/sched.h index 9d38805bf3..9b05f0d59e 100644 --- a/xen/include/xen/sched.h +++ b/xen/include/xen/sched.h @@ -541,7 +541,7 @@ static inline void vcpu_unblock(struct vcpu *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__ */ |