aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-08-19 18:47:01 +0100
committerKeir Fraser <keir.fraser@citrix.com>2008-08-19 18:47:01 +0100
commit1e827f9eab121b7371b7f07842cbecae561f991a (patch)
tree1f257b9db46359c970d0002f4034916ae0fc22da
parent7e1f3a300f1d337156b772beca60355b0e3fe752 (diff)
downloadxen-1e827f9eab121b7371b7f07842cbecae561f991a.tar.gz
xen-1e827f9eab121b7371b7f07842cbecae561f991a.tar.bz2
xen-1e827f9eab121b7371b7f07842cbecae561f991a.zip
x86 hvm: Build fix: param is paddr_t not ulong.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
-rw-r--r--xen/arch/x86/hvm/emulate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xen/arch/x86/hvm/emulate.c b/xen/arch/x86/hvm/emulate.c
index d82e41417c..7b7ac5b09c 100644
--- a/xen/arch/x86/hvm/emulate.c
+++ b/xen/arch/x86/hvm/emulate.c
@@ -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 )