ia64/linux-2.6.18-xen.hg

changeset 667:e1e8cc97331d

xen: Fix 32-bit build by fixing wrmsr_safe() usage.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Fri Sep 12 07:24:53 2008 +0100 (2008-09-12)
parents c84f326ff58a
children 92a5f8917514
files drivers/acpi/processor_throttling.c
line diff
     1.1 --- a/drivers/acpi/processor_throttling.c	Thu Sep 11 16:52:15 2008 +0100
     1.2 +++ b/drivers/acpi/processor_throttling.c	Fri Sep 12 07:24:53 2008 +0100
     1.3 @@ -680,7 +680,7 @@ static int acpi_throttling_wrmsr(struct 
     1.4  	} else {
     1.5  		msr = value;
     1.6  		wrmsr_safe(MSR_IA32_THERM_CONTROL,
     1.7 -			msr & 0xffffffff, msr >> 32);
     1.8 +			   (u32)msr, (u32)(msr >> 32));
     1.9  		ret = 0;
    1.10  	}
    1.11  	return ret;