From: Arun Sharma Subject: [PATCH] gcc-3.4/ia64 compilation fixes. Date: Tue, 2 Aug 2005 15:33:16 -0700 Message-ID: <20050802223316.GA15561@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Pratt , Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org gcc-3.4/ia64 compilation fixes. The ia64 parts of this patch are already in xen-ia64-unstable. Signed-off-by: Arun Sharma --- 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 #include +#include struct ac_timer { /* System time expiry value (nanoseconds since boot). */