From: Keir Fraser Date: Tue, 19 Aug 2008 17:47:01 +0000 (+0100) Subject: x86 hvm: Build fix: param is paddr_t not ulong. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14142 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1e827f9eab121b7371b7f07842cbecae561f991a;p=xen.git x86 hvm: Build fix: param is paddr_t not ulong. Signed-off-by: Keir Fraser --- 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 )