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

[Xen-devel] [PATCH] gcc-3.4/ia64 compilation fixes.



gcc-3.4/ia64 compilation fixes.

The ia64 parts of this patch are already in xen-ia64-unstable.

Signed-off-by: Arun Sharma <arun.sharma@xxxxxxxxx>

--- a/xen/arch/x86/smpboot.c    Wed Jul 27 20:16:28 2005
+++ b/xen/arch/x86/smpboot.c    Wed Jul 27 16:59:16 2005
@@ -432,7 +432,6 @@
        unsigned int cpu = cpucount;
 
        extern void percpu_traps_init(void);
-       extern void cpu_init(void);
 
        set_current(idle_task[cpu]);
        set_processor_id(cpu);
diff -r bb0eeb87bfca xen/arch/x86/traps.c
--- a/xen/arch/x86/traps.c      Wed Jul 27 20:16:28 2005
+++ b/xen/arch/x86/traps.c      Wed Jul 27 16:59:16 2005
@@ -1150,7 +1150,6 @@
 void __init trap_init(void)
 {
     extern void percpu_traps_init(void);
-    extern void cpu_init(void);
 
     /*
      * Note that interrupt gates are always used, rather than trap gates. We 
diff -r bb0eeb87bfca xen/include/xen/sched.h
--- a/xen/include/xen/sched.h   Wed Jul 27 20:16:28 2005
+++ b/xen/include/xen/sched.h   Wed Jul 27 16:59:16 2005
@@ -387,6 +387,7 @@
 void domain_unpause(struct domain *d);
 void domain_pause_by_systemcontroller(struct domain *d);
 void domain_unpause_by_systemcontroller(struct domain *d);
+void cpu_init(void);
 
 static inline void vcpu_unblock(struct vcpu *v)
 {
--- a/xen/include/xen/ac_timer.h        Wed Jul 27 20:16:28 2005
+++ b/xen/include/xen/ac_timer.h        Wed Jul 27 16:59:16 2005
@@ -10,6 +10,7 @@
 
 #include <xen/spinlock.h>
 #include <xen/time.h>
+#include <xen/string.h>
 
 struct ac_timer {
     /* System time expiry value (nanoseconds since boot). */

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


 


Rackspace

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