From: Keir Fraser Date: Mon, 6 Jul 2009 14:20:52 +0000 (+0100) Subject: x86: Handle dynamic Cx state changes correctly. X-Git-Tag: xen-3.4.2~27 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=99d5e33304139d1833b18426c0fdc864e3759d01;p=people%2Froyger%2Flinux-2.6.18-xen.git x86: Handle dynamic Cx state changes correctly. Signed-off-by: Keir Fraser --- diff --git a/arch/i386/kernel/acpi/processor_extcntl_xen.c b/arch/i386/kernel/acpi/processor_extcntl_xen.c index fb697866..752b1e02 100644 --- a/arch/i386/kernel/acpi/processor_extcntl_xen.c +++ b/arch/i386/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);