# HG changeset patch # User tristan.gingold@xxxxxxxx # Node ID 31f4ce22beb43c1ae0571e2e1fbf8c1ba9981d1d # Parent c4ac21dc3f16d7be84d480f8795e1902da99c230 Some noisy traces removed. Useless and commented-out code removed. Signed-off-by: Tristan Gingold diff -r c4ac21dc3f16 -r 31f4ce22beb4 xen/arch/ia64/linux-xen/smpboot.c --- a/xen/arch/ia64/linux-xen/smpboot.c Mon Mar 6 17:21:35 2006 +++ b/xen/arch/ia64/linux-xen/smpboot.c Tue Mar 7 12:56:24 2006 @@ -72,8 +72,7 @@ #ifdef CONFIG_SMP /* ifdef XEN */ -//#define SMP_DEBUG 0 -#define SMP_DEBUG 1 +#define SMP_DEBUG 0 #if SMP_DEBUG #define Dprintk(x...) printk(x) diff -r c4ac21dc3f16 -r 31f4ce22beb4 xen/arch/ia64/xen/domain.c --- a/xen/arch/ia64/xen/domain.c Mon Mar 6 17:21:35 2006 +++ b/xen/arch/ia64/xen/domain.c Tue Mar 7 12:56:24 2006 @@ -118,20 +118,7 @@ int cpu = smp_processor_id (); /* Just some sanity to ensure that the scheduler is set up okay. */ ASSERT(current->domain == IDLE_DOMAIN_ID); - printf ("idle%dA\n", cpu); raise_softirq(SCHEDULE_SOFTIRQ); -#if 0 /* All this work is done within continue_cpu_idle_loop */ - printf ("idle%dB\n", cpu); - asm volatile ("mov ar.k2=r0"); - do_softirq(); - printf ("idle%dC\n", cpu); - - /* - * Declares CPU setup done to the boot processor. - * Therefore memory barrier to ensure state is visible. - */ - smp_mb(); -#endif #if 0 //do we have to ensure the idle task has a shared page so that, for example, //region registers can be loaded from it. Apparently not... diff -r c4ac21dc3f16 -r 31f4ce22beb4 xen/arch/ia64/xen/vcpu.c --- a/xen/arch/ia64/xen/vcpu.c Mon Mar 6 17:21:35 2006 +++ b/xen/arch/ia64/xen/vcpu.c Tue Mar 7 12:56:24 2006 @@ -1850,7 +1850,6 @@ UINT64 mpaddr, paddr; IA64FAULT fault; unsigned long translate_domain_mpaddr(unsigned long); - IA64FAULT vcpu_tpa(VCPU *, UINT64, UINT64 *); fault = vcpu_tpa(vcpu, vadr, &mpaddr); if (fault == IA64_NO_FAULT) { diff -r c4ac21dc3f16 -r 31f4ce22beb4 xen/arch/ia64/xen/xensetup.c --- a/xen/arch/ia64/xen/xensetup.c Mon Mar 6 17:21:35 2006 +++ b/xen/arch/ia64/xen/xensetup.c Tue Mar 7 12:56:24 2006 @@ -331,7 +331,6 @@ if ( num_online_cpus() >= max_cpus ) break; if ( !cpu_online(i) ) { -printk("About to call __cpu_up(%d)\n",i); __cpu_up(i); } }