[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] linux: follow-up adjustments for platform.h interface header change
This should be applied once the public header adjustments from "[PATCH] introduce mechanism to check standard conformance of headers" got sync-ed to the legacy 2.6.18 tree. Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx> --- 2009-06-10.orig/arch/i386/kernel/acpi/processor_extcntl_xen.c +++ 2009-06-10/arch/i386/kernel/acpi/processor_extcntl_xen.c @@ -89,13 +89,13 @@ 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); + set_xen_guest_handle(op.u.set_pminfo.power.states, buf); ret = HYPERVISOR_platform_op(&op); kfree(buf); return ret; @@ -118,7 +118,7 @@ if (!pr) return -EINVAL; - perf = &op.u.set_pminfo.perf; + perf = &op.u.set_pminfo.u.perf; px = pr->performance; switch(action) { --- 2009-06-10.orig/arch/ia64/kernel/processor_extcntl_xen.c +++ 2009-06-10/arch/ia64/kernel/processor_extcntl_xen.c @@ -58,7 +58,7 @@ 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-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |