ia64/linux-2.6.18-xen.hg

changeset 905:fa8587c4b535

linux: follow-up adjustments for platform.h interface header change

Signed-off-by: Jan Beulich <jbeulich@novell.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Jun 17 07:26:52 2009 +0100 (2009-06-17)
parents db9d21711a03
children 3776d277956f
files arch/i386/kernel/acpi/processor_extcntl_xen.c arch/ia64/kernel/processor_extcntl_xen.c
line diff
     1.1 --- a/arch/i386/kernel/acpi/processor_extcntl_xen.c	Wed Jun 17 07:26:00 2009 +0100
     1.2 +++ b/arch/i386/kernel/acpi/processor_extcntl_xen.c	Wed Jun 17 07:26:52 2009 +0100
     1.3 @@ -89,11 +89,11 @@ static int xen_cx_notifier(struct acpi_p
     1.4  		return -EINVAL;
     1.5  	}
     1.6  
     1.7 -	op.u.set_pminfo.power.count = count;
     1.8 -	op.u.set_pminfo.power.flags.bm_control = pr->flags.bm_control;
     1.9 -	op.u.set_pminfo.power.flags.bm_check = pr->flags.bm_check;
    1.10 -	op.u.set_pminfo.power.flags.has_cst = pr->flags.has_cst;
    1.11 -	op.u.set_pminfo.power.flags.power_setup_done = pr->flags.power_setup_done;
    1.12 +	op.u.set_pminfo.u.power.count = count;
    1.13 +	op.u.set_pminfo.u.power.flags.bm_control = pr->flags.bm_control;
    1.14 +	op.u.set_pminfo.u.power.flags.bm_check = pr->flags.bm_check;
    1.15 +	op.u.set_pminfo.u.power.flags.has_cst = pr->flags.has_cst;
    1.16 +	op.u.set_pminfo.u.power.flags.power_setup_done = pr->flags.power_setup_done;
    1.17  
    1.18  	set_xen_guest_handle(op.u.set_pminfo.power.states, buf);
    1.19  	ret = HYPERVISOR_platform_op(&op);
    1.20 @@ -118,7 +118,7 @@ static int xen_px_notifier(struct acpi_p
    1.21  	if (!pr)
    1.22  		return -EINVAL;
    1.23  
    1.24 -	perf = &op.u.set_pminfo.perf;
    1.25 +	perf = &op.u.set_pminfo.u.perf;
    1.26  	px = pr->performance;
    1.27  
    1.28  	switch(action) {
     2.1 --- a/arch/ia64/kernel/processor_extcntl_xen.c	Wed Jun 17 07:26:00 2009 +0100
     2.2 +++ b/arch/ia64/kernel/processor_extcntl_xen.c	Wed Jun 17 07:26:52 2009 +0100
     2.3 @@ -58,7 +58,7 @@ static int xen_px_notifier(struct acpi_p
     2.4  	if (!pr || !pr->performance)
     2.5  		return -EINVAL;
     2.6  
     2.7 -	perf = &op.u.set_pminfo.perf;
     2.8 +	perf = &op.u.set_pminfo.u.perf;
     2.9  	px = pr->performance;
    2.10  
    2.11  	switch(action) {