[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] linux: follow-up adjustments for platform.h interface header change



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1245220012 -3600
# Node ID fa8587c4b535e926534d5267df8d70f76f9b885a
# Parent  db9d21711a035e3a03aa446ef989bc6ab6a414d6
linux: follow-up adjustments for platform.h interface header change

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
 arch/i386/kernel/acpi/processor_extcntl_xen.c |   12 ++++++------
 arch/ia64/kernel/processor_extcntl_xen.c      |    2 +-
 2 files changed, 7 insertions(+), 7 deletions(-)

diff -r db9d21711a03 -r fa8587c4b535 
arch/i386/kernel/acpi/processor_extcntl_xen.c
--- a/arch/i386/kernel/acpi/processor_extcntl_xen.c     Wed Jun 17 07:26:00 
2009 +0100
+++ b/arch/i386/kernel/acpi/processor_extcntl_xen.c     Wed Jun 17 07:26:52 
2009 +0100
@@ -89,11 +89,11 @@ static int xen_cx_notifier(struct acpi_p
                return -EINVAL;
        }
 
-       op.u.set_pminfo.power.count = count;
-       op.u.set_pminfo.power.flags.bm_control = pr->flags.bm_control;
-       op.u.set_pminfo.power.flags.bm_check = pr->flags.bm_check;
-       op.u.set_pminfo.power.flags.has_cst = pr->flags.has_cst;
-       op.u.set_pminfo.power.flags.power_setup_done = 
pr->flags.power_setup_done;
+       op.u.set_pminfo.u.power.count = count;
+       op.u.set_pminfo.u.power.flags.bm_control = pr->flags.bm_control;
+       op.u.set_pminfo.u.power.flags.bm_check = pr->flags.bm_check;
+       op.u.set_pminfo.u.power.flags.has_cst = pr->flags.has_cst;
+       op.u.set_pminfo.u.power.flags.power_setup_done = 
pr->flags.power_setup_done;
 
        set_xen_guest_handle(op.u.set_pminfo.power.states, buf);
        ret = HYPERVISOR_platform_op(&op);
@@ -118,7 +118,7 @@ static int xen_px_notifier(struct acpi_p
        if (!pr)
                return -EINVAL;
 
-       perf = &op.u.set_pminfo.perf;
+       perf = &op.u.set_pminfo.u.perf;
        px = pr->performance;
 
        switch(action) {
diff -r db9d21711a03 -r fa8587c4b535 arch/ia64/kernel/processor_extcntl_xen.c
--- a/arch/ia64/kernel/processor_extcntl_xen.c  Wed Jun 17 07:26:00 2009 +0100
+++ b/arch/ia64/kernel/processor_extcntl_xen.c  Wed Jun 17 07:26:52 2009 +0100
@@ -58,7 +58,7 @@ static int xen_px_notifier(struct acpi_p
        if (!pr || !pr->performance)
                return -EINVAL;
 
-       perf = &op.u.set_pminfo.perf;
+       perf = &op.u.set_pminfo.u.perf;
        px = pr->performance;
 
        switch(action) {

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.