WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [linux-2.6.18-xen] xen: Fix 32-bit build by fixing wrmsr

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] xen: Fix 32-bit build by fixing wrmsr_safe() usage.
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 16 Sep 2008 06:01:17 -0700
Delivery-date: Tue, 16 Sep 2008 06:03:58 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1221200693 -3600
# Node ID e1e8cc97331de14d03e76b5fb592713e407285e0
# Parent  c84f326ff58a4b8bd3e432723061ca7fe419c81f
xen: Fix 32-bit build by fixing wrmsr_safe() usage.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 drivers/acpi/processor_throttling.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r c84f326ff58a -r e1e8cc97331d drivers/acpi/processor_throttling.c
--- a/drivers/acpi/processor_throttling.c       Thu Sep 11 16:52:15 2008 +0100
+++ b/drivers/acpi/processor_throttling.c       Fri Sep 12 07:24:53 2008 +0100
@@ -680,7 +680,7 @@ static int acpi_throttling_wrmsr(struct 
        } else {
                msr = value;
                wrmsr_safe(MSR_IA32_THERM_CONTROL,
-                       msr & 0xffffffff, msr >> 32);
+                          (u32)msr, (u32)(msr >> 32));
                ret = 0;
        }
        return ret;

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] xen: Fix 32-bit build by fixing wrmsr_safe() usage., Xen patchbot-linux-2.6.18-xen <=