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

[Xen-changelog] [xen-unstable] Change cpufreq_controller from meanless FREQCTL_none to FREQCTL_xen



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1217248787 -3600
# Node ID 0dc50e764c8cb17fe6b3bdd2fb821984a45b6f9f
# Parent  eb71d05f51a208bcd2e1a7f7b5ebfe813504250a
Change cpufreq_controller from meanless FREQCTL_none to FREQCTL_xen

Signed-off-by: Liu Jinsong <jinsong.liu@xxxxxxxxx>
---
 xen/common/domain.c     |    2 +-
 xen/include/xen/sched.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff -r eb71d05f51a2 -r 0dc50e764c8c xen/common/domain.c
--- a/xen/common/domain.c       Mon Jul 28 11:43:54 2008 +0100
+++ b/xen/common/domain.c       Mon Jul 28 13:39:47 2008 +0100
@@ -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 eb71d05f51a2 -r 0dc50e764c8c xen/include/xen/sched.h
--- a/xen/include/xen/sched.h   Mon Jul 28 11:43:54 2008 +0100
+++ b/xen/include/xen/sched.h   Mon Jul 28 13:39:47 2008 +0100
@@ -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__ */

_______________________________________________
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®.