[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] x86 hvm: Build fix: param is paddr_t not ulong.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1219168021 -3600
# Node ID e6a4f6a682ba534ce052cc9856cf53b03c24a95e
# Parent  a3fe573a0e1eb98246e09db98f12e13de117a52b
x86 hvm: Build fix: param is paddr_t not ulong.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/arch/x86/hvm/emulate.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff -r a3fe573a0e1e -r e6a4f6a682ba xen/arch/x86/hvm/emulate.c
--- a/xen/arch/x86/hvm/emulate.c        Tue Aug 19 15:57:19 2008 +0100
+++ b/xen/arch/x86/hvm/emulate.c        Tue Aug 19 18:47:01 2008 +0100
@@ -228,7 +228,8 @@ static int hvmemul_linear_to_phys(
     if ( reverse && ((-addr & ~PAGE_MASK) < bytes_per_rep) )
     {
         /* Do page-straddling first iteration forwards via recursion. */
-        unsigned long _paddr, one_rep = 1;
+        paddr_t _paddr;
+        unsigned long one_rep = 1;
         int rc = hvmemul_linear_to_phys(
             addr, &_paddr, bytes_per_rep, &one_rep, pfec, hvmemul_ctxt);
         if ( rc != X86EMUL_OKAY )

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.