From: Kamala Narasimhan Date: Mon, 6 Jul 2009 15:10:10 +0000 (-0400) Subject: Enable on-the-fly Cx state changes. X-Git-Url: http://xenbits.xen.org/gitweb?a=commitdiff_plain;h=b57b3df1971cb4096d2b32323402478031c17559;p=xenclient%2Flinux-2.6.27-pq.git Enable on-the-fly Cx state changes. --- diff --git a/master/on-the-fly-cx-change b/master/on-the-fly-cx-change new file mode 100644 index 0000000..c2dd823 --- /dev/null +++ b/master/on-the-fly-cx-change @@ -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); diff --git a/master/series b/master/series index 81bd013..497cfdc 100644 --- a/master/series +++ b/master/series @@ -263,3 +263,4 @@ pass2-driver remove-release-flr intel-hda-2.6.30 flr-change-sbr-d3r-lists +on-the-fly-cx-change