[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [IA64] Fix Xen running on IA64. Some function prototypes were



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID bd16e299db3d8455e6e6c79dff046548fae4bc2e
# Parent  9f937ecc4f544ca7f5eb0b3c3b8a71e76a6d3ee6
[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@xxxxxxxxx>
---
 xen/arch/ia64/linux-xen/smpboot.c |    1 +
 xen/arch/ia64/xen/domain.c        |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff -r 9f937ecc4f54 -r bd16e299db3d xen/arch/ia64/linux-xen/smpboot.c
--- a/xen/arch/ia64/linux-xen/smpboot.c Thu Jun 01 22:21:39 2006 +0100
+++ b/xen/arch/ia64/linux-xen/smpboot.c Fri Jun 02 07:56:41 2006 +0100
@@ -62,6 +62,7 @@
 #include <asm/unistd.h>
 
 #ifdef XEN
+#include <xen/domain.h>
 #include <asm/hw_irq.h>
 int ht_per_core = 1;
 #ifndef CONFIG_SMP
diff -r 9f937ecc4f54 -r bd16e299db3d xen/arch/ia64/xen/domain.c
--- a/xen/arch/ia64/xen/domain.c        Thu Jun 01 22:21:39 2006 +0100
+++ b/xen/arch/ia64/xen/domain.c        Fri Jun 02 07:56:41 2006 +0100
@@ -14,7 +14,6 @@
 #include <xen/init.h>
 #include <xen/lib.h>
 #include <xen/errno.h>
-#include <xen/domain.h>
 #include <xen/sched.h>
 #include <xen/smp.h>
 #include <xen/delay.h>
@@ -43,6 +42,7 @@
 
 #include <asm/vcpu.h>   /* for function declarations */
 #include <public/arch-ia64.h>
+#include <xen/domain.h>
 #include <asm/vmx.h>
 #include <asm/vmx_vcpu.h>
 #include <asm/vmx_vpd.h>

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.