]> xenbits.xensource.com Git - legacy/linux-2.6.18-xen.git/commitdiff
x86: Handle dynamic Cx state changes correctly.
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 6 Jul 2009 14:20:52 +0000 (15:20 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 6 Jul 2009 14:20:52 +0000 (15:20 +0100)
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
arch/i386/kernel/acpi/processor_extcntl_xen.c

index fb697866f0f42eade5e69d076afed69aba4efdc1..752b1e027c74171c0a54638de3fb35757cbf19c0 100644 (file)
@@ -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);