# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID f4f4dd936103d5478f88346f917ba68d5cd32e4f
# Parent 4c058926e92b4e1a2b42c46045217f2de031c8d4
Fix x86/64 build after previous changeset.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
xen/arch/x86/x86_emulate.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -r 4c058926e92b -r f4f4dd936103 xen/arch/x86/x86_emulate.c
--- a/xen/arch/x86/x86_emulate.c Thu May 25 15:55:07 2006 +0100
+++ b/xen/arch/x86/x86_emulate.c Thu May 25 16:00:09 2006 +0100
@@ -1103,7 +1103,7 @@ x86_emulate_memop(
#elif defined(__x86_64__)
{
unsigned long old, new;
- if ( (rc = ops->read_emulated(cr2, &old, 8)) != 0 )
+ if ( (rc = ops->read_emulated(cr2, &old, 8, ctxt)) != 0 )
goto done;
if ( ((uint32_t)(old>>0) != (uint32_t)_regs.eax) ||
((uint32_t)(old>>32) != (uint32_t)_regs.edx) )
@@ -1115,7 +1115,7 @@ x86_emulate_memop(
else
{
new = (_regs.ecx<<32)|(uint32_t)_regs.ebx;
- if ( (rc = ops->cmpxchg_emulated(cr2, old, new, 8)) != 0 )
+ if ( (rc = ops->cmpxchg_emulated(cr2, old, new, 8, ctxt)) != 0 )
goto done;
_regs.eflags |= EFLG_ZF;
}
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|