direct-io.hg

changeset 10252:bd16e299db3d

[IA64] Fix Xen running on IA64. Some function prototypes were
moved to domain.h and hence undefined in some source files.
This meant that some return types defaulted to int, resulting
in corruption.
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
author kaf24@firebug.cl.cam.ac.uk
date Fri Jun 02 07:56:41 2006 +0100 (2006-06-02)
parents 9f937ecc4f54
children 639ad22eb7c8
files xen/arch/ia64/linux-xen/smpboot.c xen/arch/ia64/xen/domain.c
line diff
     1.1 --- a/xen/arch/ia64/linux-xen/smpboot.c	Thu Jun 01 22:21:39 2006 +0100
     1.2 +++ b/xen/arch/ia64/linux-xen/smpboot.c	Fri Jun 02 07:56:41 2006 +0100
     1.3 @@ -62,6 +62,7 @@
     1.4  #include <asm/unistd.h>
     1.5  
     1.6  #ifdef XEN
     1.7 +#include <xen/domain.h>
     1.8  #include <asm/hw_irq.h>
     1.9  int ht_per_core = 1;
    1.10  #ifndef CONFIG_SMP
     2.1 --- a/xen/arch/ia64/xen/domain.c	Thu Jun 01 22:21:39 2006 +0100
     2.2 +++ b/xen/arch/ia64/xen/domain.c	Fri Jun 02 07:56:41 2006 +0100
     2.3 @@ -14,7 +14,6 @@
     2.4  #include <xen/init.h>
     2.5  #include <xen/lib.h>
     2.6  #include <xen/errno.h>
     2.7 -#include <xen/domain.h>
     2.8  #include <xen/sched.h>
     2.9  #include <xen/smp.h>
    2.10  #include <xen/delay.h>
    2.11 @@ -43,6 +42,7 @@
    2.12  
    2.13  #include <asm/vcpu.h>   /* for function declarations */
    2.14  #include <public/arch-ia64.h>
    2.15 +#include <xen/domain.h>
    2.16  #include <asm/vmx.h>
    2.17  #include <asm/vmx_vcpu.h>
    2.18  #include <asm/vmx_vpd.h>