From 41710374e01877ca31588f9c5418bff89ba3734d Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Fri, 12 Sep 2008 07:24:53 +0100 Subject: [PATCH] xen: Fix 32-bit build by fixing wrmsr_safe() usage. Signed-off-by: Keir Fraser --- drivers/acpi/processor_throttling.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/processor_throttling.c b/drivers/acpi/processor_throttling.c index 59477523..8ca2044f 100644 --- a/drivers/acpi/processor_throttling.c +++ b/drivers/acpi/processor_throttling.c @@ -680,7 +680,7 @@ static int acpi_throttling_wrmsr(struct acpi_processor *pr, acpi_integer value) } else { msr = value; wrmsr_safe(MSR_IA32_THERM_CONTROL, - msr & 0xffffffff, msr >> 32); + (u32)msr, (u32)(msr >> 32)); ret = 0; } return ret; -- 2.39.5