Skip to contentSkip to conversation

gcc-3.4/ia64 compilation fixes.

PATCH New Arun Sharma 1 participant 1 message Aug 2, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gcc-3.4/ia64 compilation fixes.

gcc-3.4/ia64 compilation fixes.

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

xen/arch/x86/smpboot.c +0 -1
@@ -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);
xen/arch/x86/traps.c +0 -1
diff -r bb0eeb87bfca xen/arch/x86/traps.c
@@ -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 
xen/include/xen/sched.h +1 -0
diff -r bb0eeb87bfca xen/include/xen/sched.h
@@ -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)
 {
xen/include/xen/ac_timer.h +1 -0
@@ -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). */