projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e1f3a3
)
x86 hvm: Build fix: param is paddr_t not ulong.
author
Keir Fraser
<keir.fraser@citrix.com>
Tue, 19 Aug 2008 17:47:01 +0000
(18:47 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Tue, 19 Aug 2008 17:47:01 +0000
(18:47 +0100)
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/arch/x86/hvm/emulate.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/hvm/emulate.c
b/xen/arch/x86/hvm/emulate.c
index d82e41417c9e1f4783ce42d20c0dc53db2683920..7b7ac5b09c0f28ee63f6958d63e24aebc5d7193f 100644
(file)
--- 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 )