ia64/xen-unstable

changeset 18341:e6a4f6a682ba

x86 hvm: Build fix: param is paddr_t not ulong.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Aug 19 18:47:01 2008 +0100 (2008-08-19)
parents a3fe573a0e1e
children 504e5334f1a2
files xen/arch/x86/hvm/emulate.c
line diff
     1.1 --- a/xen/arch/x86/hvm/emulate.c	Tue Aug 19 15:57:19 2008 +0100
     1.2 +++ b/xen/arch/x86/hvm/emulate.c	Tue Aug 19 18:47:01 2008 +0100
     1.3 @@ -228,7 +228,8 @@ static int hvmemul_linear_to_phys(
     1.4      if ( reverse && ((-addr & ~PAGE_MASK) < bytes_per_rep) )
     1.5      {
     1.6          /* Do page-straddling first iteration forwards via recursion. */
     1.7 -        unsigned long _paddr, one_rep = 1;
     1.8 +        paddr_t _paddr;
     1.9 +        unsigned long one_rep = 1;
    1.10          int rc = hvmemul_linear_to_phys(
    1.11              addr, &_paddr, bytes_per_rep, &one_rep, pfec, hvmemul_ctxt);
    1.12          if ( rc != X86EMUL_OKAY )