From 1e827f9eab121b7371b7f07842cbecae561f991a Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Tue, 19 Aug 2008 18:47:01 +0100 Subject: [PATCH] x86 hvm: Build fix: param is paddr_t not ulong. Signed-off-by: Keir Fraser --- xen/arch/x86/hvm/emulate.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ) -- 2.30.2