# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1213960690 -3600
# Node ID ec5717ac4815ac1f3fe8b84432e57ccca7ded56f
# Parent d3a87899985d8f0c91aed55ff05451aee3f973b9
Compilation fix for x86_64 caused by 17880:d3a87899985d.
Signed-off-by: Jean Guyader <jean.guyader@xxxxxxxxxxxxx>
---
tools/libxc/xc_ptrace.c | 4 ++--
tools/xentrace/xenctx.c | 2 --
2 files changed, 2 insertions(+), 4 deletions(-)
diff -r d3a87899985d -r ec5717ac4815 tools/libxc/xc_ptrace.c
--- a/tools/libxc/xc_ptrace.c Thu Jun 19 16:15:05 2008 +0100
+++ b/tools/libxc/xc_ptrace.c Fri Jun 20 12:18:10 2008 +0100
@@ -264,12 +264,12 @@ map_domain_va_64(
uint64_t *l4, *l3, *l2, *l1;
static void *v[MAX_VIRT_CPUS];
- if ((ctxt[cpu].ctrlreg[4] & 0x20) == 0 ) /* legacy ia32 mode */
+ if ((ctxt[cpu].c.ctrlreg[4] & 0x20) == 0 ) /* legacy ia32 mode */
return map_domain_va_32(xc_handle, cpu, guest_va, perm);
l4 = xc_map_foreign_range(
xc_handle, current_domid, PAGE_SIZE, PROT_READ,
- xen_cr3_to_pfn(ctxt[cpu].ctrlreg[3]));
+ xen_cr3_to_pfn(ctxt[cpu].c.ctrlreg[3]));
if ( l4 == NULL )
return NULL;
diff -r d3a87899985d -r ec5717ac4815 tools/xentrace/xenctx.c
--- a/tools/xentrace/xenctx.c Thu Jun 19 16:15:05 2008 +0100
+++ b/tools/xentrace/xenctx.c Fri Jun 20 12:18:10 2008 +0100
@@ -22,8 +22,6 @@
#include <string.h>
#include <inttypes.h>
#include <getopt.h>
-#include <xen/foreign/x86_64.h>
-#include <xen/foreign/x86_32.h>
#include "xenctrl.h"
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|