aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsos22@douglas.cl.cam.ac.uk <sos22@douglas.cl.cam.ac.uk>2005-07-08 17:37:33 +0000
committersos22@douglas.cl.cam.ac.uk <sos22@douglas.cl.cam.ac.uk>2005-07-08 17:37:33 +0000
commit19213aa7478900a5415681aef861e9c7759a5529 (patch)
tree93b542d2bb702dddc89d5c0b08661c8f922c2245
parent971dbf697843d0211fe8a6f702b9ab80f7fd7b94 (diff)
downloadxen-19213aa7478900a5415681aef861e9c7759a5529.tar.gz
xen-19213aa7478900a5415681aef861e9c7759a5529.tar.bz2
xen-19213aa7478900a5415681aef861e9c7759a5529.zip
Get rid of some debug printks.
-rw-r--r--linux-2.6.11-xen-sparse/arch/xen/i386/kernel/smpboot.c10
-rw-r--r--linux-2.6.11-xen-sparse/arch/xen/kernel/evtchn.c8
2 files changed, 2 insertions, 16 deletions
diff --git a/linux-2.6.11-xen-sparse/arch/xen/i386/kernel/smpboot.c b/linux-2.6.11-xen-sparse/arch/xen/i386/kernel/smpboot.c
index f095dcf983..494befa697 100644
--- a/linux-2.6.11-xen-sparse/arch/xen/i386/kernel/smpboot.c
+++ b/linux-2.6.11-xen-sparse/arch/xen/i386/kernel/smpboot.c
@@ -1325,7 +1325,6 @@ static int __devinit cpu_enable(unsigned int cpu)
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 @@ static int __devinit cpu_enable(unsigned int cpu)
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 @@ int __cpu_disable(void)
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 @@ int __devinit __cpu_up(unsigned int cpu)
/* 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
diff --git a/linux-2.6.11-xen-sparse/arch/xen/kernel/evtchn.c b/linux-2.6.11-xen-sparse/arch/xen/kernel/evtchn.c
index bdc505e9b9..156e94dbd3 100644
--- a/linux-2.6.11-xen-sparse/arch/xen/kernel/evtchn.c
+++ b/linux-2.6.11-xen-sparse/arch/xen/kernel/evtchn.c
@@ -341,7 +341,6 @@ static void rebind_irq_to_cpu(unsigned irq, unsigned tcpu)
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)) {
@@ -349,8 +348,6 @@ static void rebind_irq_to_cpu(unsigned irq, unsigned tcpu)
return;
}
- printk("<0>Is evtchn %d.\n", evtchn);
-
/* Tell Xen to send future instances of this interrupt to the
other vcpu */
op.cmd = EVTCHNOP_bind_vcpu;
@@ -374,11 +371,10 @@ static void rebind_irq_to_cpu(unsigned irq, unsigned tcpu)
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");
}
}