]>
Commit | Line | Data |
---|---|---|
2cb7cef9 BS |
1 | From: http://xenbits.xensource.com/linux-2.6.18-xen.hg?rev/c27fe3158f21 |
2 | # HG changeset patch | |
3 | # User Keir Fraser <keir.fraser@citrix.com> | |
4 | # Date 1246890052 -3600 | |
5 | # Node ID c27fe3158f211e6b331827084916fe6d464910a2 | |
6 | # Parent b086278a440602f2509380d0f718343e910483eb | |
7 | Subject: x86: Handle dynamic Cx state changes correctly. | |
8 | Patch-mainline: obsolete | |
9 | ||
10 | Signed-off-by: Keir Fraser <keir.fraser@citrix.com> | |
11 | Acked-by: jbeulich@novell.com | |
12 | ||
13 | --- sle11-2009-07-31.orig/arch/x86/kernel/acpi/processor_extcntl_xen.c 2009-07-31 14:49:20.000000000 +0200 | |
14 | +++ sle11-2009-07-31/arch/x86/kernel/acpi/processor_extcntl_xen.c 2009-07-31 14:52:14.000000000 +0200 | |
15 | @@ -44,9 +44,6 @@ static int xen_cx_notifier(struct acpi_p | |
16 | struct xen_processor_cx *data, *buf; | |
17 | struct acpi_processor_cx *cx; | |
18 | ||
19 | - if (action == PROCESSOR_PM_CHANGE) | |
20 | - return -EINVAL; | |
21 | - | |
22 | /* Convert to Xen defined structure and hypercall */ | |
23 | buf = kzalloc(pr->power.count * sizeof(struct xen_processor_cx), | |
24 | GFP_KERNEL); |