diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-08-19 18:47:01 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-08-19 18:47:01 +0100 |
commit | 1e827f9eab121b7371b7f07842cbecae561f991a (patch) | |
tree | 1f257b9db46359c970d0002f4034916ae0fc22da /xen/arch/x86/hvm/emulate.c | |
parent | 7e1f3a300f1d337156b772beca60355b0e3fe752 (diff) | |
download | xen-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>
Diffstat (limited to 'xen/arch/x86/hvm/emulate.c')
-rw-r--r-- | xen/arch/x86/hvm/emulate.c | 3 |
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 ) |