]> xenbits.xen.org Git - xenclient/linux-2.6.27-pq.git/commitdiff
Enable on-the-fly Cx state changes.
authorKamala Narasimhan <kamala.narasimhan@citrix.com>
Mon, 6 Jul 2009 15:10:10 +0000 (11:10 -0400)
committerKamala Narasimhan <kamala.narasimhan@citrix.com>
Mon, 6 Jul 2009 15:10:10 +0000 (11:10 -0400)
master/on-the-fly-cx-change [new file with mode: 0644]
master/series

diff --git a/master/on-the-fly-cx-change b/master/on-the-fly-cx-change
new file mode 100644 (file)
index 0000000..c2dd823
--- /dev/null
@@ -0,0 +1,14 @@
+diff --git a/arch/x86/kernel/acpi/processor_extcntl_xen.c b/arch/x86/kernel/acpi/processor_extcntl_xen.c
+index 5df78b8..69d0a10 100644
+--- a/arch/x86/kernel/acpi/processor_extcntl_xen.c
++++ b/arch/x86/kernel/acpi/processor_extcntl_xen.c
+@@ -44,9 +44,6 @@ static int xen_cx_notifier(struct acpi_processor *pr, int action)
+       struct xen_processor_cx *data, *buf;
+       struct acpi_processor_cx *cx;
+-      if (action == PROCESSOR_PM_CHANGE)
+-              return -EINVAL;
+-
+       /* Convert to Xen defined structure and hypercall */
+       buf = kzalloc(pr->power.count * sizeof(struct xen_processor_cx),
+                       GFP_KERNEL);
index 81bd013a6c67cf4d503440abb7ed5719dbbdc9e5..497cfdc9a0b3e47f8fa8de6f405755b7540faea2 100644 (file)
@@ -263,3 +263,4 @@ pass2-driver
 remove-release-flr
 intel-hda-2.6.30
 flr-change-sbr-d3r-lists
+on-the-fly-cx-change