[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Get rid of some debug printks.
# HG changeset patch # User sos22@xxxxxxxxxxxxxxxxxxxx # Node ID 04d15727e6e8c83e859246597715c33064384b3f # Parent 7c3d7c37dfded2aae4e0ba81666dc9a55dba3d6c Get rid of some debug printks. diff -r 7c3d7c37dfde -r 04d15727e6e8 linux-2.6.11-xen-sparse/arch/xen/kernel/evtchn.c --- a/linux-2.6.11-xen-sparse/arch/xen/kernel/evtchn.c Fri Jul 8 17:33:42 2005 +++ b/linux-2.6.11-xen-sparse/arch/xen/kernel/evtchn.c Fri Jul 8 17:37:33 2005 @@ -341,15 +341,12 @@ evtchn_op_t op; int evtchn; - printk("<0>Rebind irq %d to vcpu %d.\n", irq, tcpu); spin_lock(&irq_mapping_update_lock); evtchn = irq_to_evtchn[irq]; if (!VALID_EVTCHN(evtchn)) { spin_unlock(&irq_mapping_update_lock); return; } - - printk("<0>Is evtchn %d.\n", evtchn); /* Tell Xen to send future instances of this interrupt to the other vcpu */ @@ -374,11 +371,10 @@ from the hotplug/hotunplug path. In that case, all cpus are stopped with interrupts disabled, and the missed interrupts will be picked up when they start again. This is kind of a - hack. */ + hack. + */ if (!irqs_disabled()) { - printk("<0>Doing nop ipi\n"); smp_call_function(do_nothing_function, NULL, 0, 0); - printk("<0>Done nop ipi\n"); } } diff -r 7c3d7c37dfde -r 04d15727e6e8 linux-2.6.11-xen-sparse/arch/xen/i386/kernel/smpboot.c --- a/linux-2.6.11-xen-sparse/arch/xen/i386/kernel/smpboot.c Fri Jul 8 17:33:42 2005 +++ b/linux-2.6.11-xen-sparse/arch/xen/i386/kernel/smpboot.c Fri Jul 8 17:37:33 2005 @@ -1325,7 +1325,6 @@ prepare_for_smp(); #endif - printk("<0>Starting enable cpu.\n"); /* get the target out of its holding state */ per_cpu(cpu_state, cpu) = CPU_UP_PREPARE; wmb(); @@ -1334,9 +1333,7 @@ while (!cpu_online(cpu)) cpu_relax(); - printk("<0>Calling fixup_irqs.\n"); fixup_irqs(cpu_online_map); - printk("<0>Called fixup_irqs.\n"); /* counter the disable in fixup_irqs() */ local_irq_enable(); @@ -1361,12 +1358,6 @@ cpu_clear(cpu, map); fixup_irqs(map); - printk("<0>Done fixup_irqs.\n"); - - local_irq_enable(); - printk("<0>Interrupts on.\n"); - local_irq_disable(); - printk("<0>Interrupts off again.\n"); /* It's now safe to remove this processor from the online map */ cpu_clear(cpu, cpu_online_map); @@ -1495,7 +1486,6 @@ /* Already up, and in cpu_quiescent now? */ if (cpu_isset(cpu, smp_commenced_mask)) { cpu_enable(cpu); - printk("<0>cpu_enable completed.\n"); return 0; } #endif _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |