ia64/xen-unstable

changeset 17895:ec5717ac4815

Compilation fix for x86_64 caused by 17880:d3a87899985d.
Signed-off-by: Jean Guyader <jean.guyader@eu.citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Fri Jun 20 12:18:10 2008 +0100 (2008-06-20)
parents d3a87899985d
children 26ecd1f9e128
files tools/libxc/xc_ptrace.c tools/xentrace/xenctx.c
line diff
     1.1 --- a/tools/libxc/xc_ptrace.c	Thu Jun 19 16:15:05 2008 +0100
     1.2 +++ b/tools/libxc/xc_ptrace.c	Fri Jun 20 12:18:10 2008 +0100
     1.3 @@ -264,12 +264,12 @@ map_domain_va_64(
     1.4      uint64_t *l4, *l3, *l2, *l1;
     1.5      static void *v[MAX_VIRT_CPUS];
     1.6  
     1.7 -    if ((ctxt[cpu].ctrlreg[4] & 0x20) == 0 ) /* legacy ia32 mode */
     1.8 +    if ((ctxt[cpu].c.ctrlreg[4] & 0x20) == 0 ) /* legacy ia32 mode */
     1.9          return map_domain_va_32(xc_handle, cpu, guest_va, perm);
    1.10  
    1.11      l4 = xc_map_foreign_range(
    1.12          xc_handle, current_domid, PAGE_SIZE, PROT_READ,
    1.13 -        xen_cr3_to_pfn(ctxt[cpu].ctrlreg[3]));
    1.14 +        xen_cr3_to_pfn(ctxt[cpu].c.ctrlreg[3]));
    1.15      if ( l4 == NULL )
    1.16          return NULL;
    1.17  
     2.1 --- a/tools/xentrace/xenctx.c	Thu Jun 19 16:15:05 2008 +0100
     2.2 +++ b/tools/xentrace/xenctx.c	Fri Jun 20 12:18:10 2008 +0100
     2.3 @@ -22,8 +22,6 @@
     2.4  #include <string.h>
     2.5  #include <inttypes.h>
     2.6  #include <getopt.h>
     2.7 -#include <xen/foreign/x86_64.h>
     2.8 -#include <xen/foreign/x86_32.h>
     2.9  
    2.10  #include "xenctrl.h"
    2.11