ia64/xen-unstable

changeset 5706:04d15727e6e8

Get rid of some debug printks.
author sos22@douglas.cl.cam.ac.uk
date Fri Jul 08 17:37:33 2005 +0000 (2005-07-08)
parents 7c3d7c37dfde
children 05b63285047c
files linux-2.6.11-xen-sparse/arch/xen/i386/kernel/smpboot.c linux-2.6.11-xen-sparse/arch/xen/kernel/evtchn.c
line diff
     1.1 --- a/linux-2.6.11-xen-sparse/arch/xen/i386/kernel/smpboot.c	Fri Jul 08 17:33:42 2005 +0000
     1.2 +++ b/linux-2.6.11-xen-sparse/arch/xen/i386/kernel/smpboot.c	Fri Jul 08 17:37:33 2005 +0000
     1.3 @@ -1325,7 +1325,6 @@ static int __devinit cpu_enable(unsigned
     1.4  		prepare_for_smp();
     1.5  #endif
     1.6  
     1.7 -	printk("<0>Starting enable cpu.\n");
     1.8  	/* get the target out of its holding state */
     1.9  	per_cpu(cpu_state, cpu) = CPU_UP_PREPARE;
    1.10  	wmb();
    1.11 @@ -1334,9 +1333,7 @@ static int __devinit cpu_enable(unsigned
    1.12  	while (!cpu_online(cpu))
    1.13  		cpu_relax();
    1.14  
    1.15 -	printk("<0>Calling fixup_irqs.\n");
    1.16  	fixup_irqs(cpu_online_map);
    1.17 -	printk("<0>Called fixup_irqs.\n");
    1.18  
    1.19  	/* counter the disable in fixup_irqs() */
    1.20  	local_irq_enable();
    1.21 @@ -1361,12 +1358,6 @@ int __cpu_disable(void)
    1.22  
    1.23  	cpu_clear(cpu, map);
    1.24  	fixup_irqs(map);
    1.25 -	printk("<0>Done fixup_irqs.\n");
    1.26 -
    1.27 -	local_irq_enable();
    1.28 -	printk("<0>Interrupts on.\n");
    1.29 -	local_irq_disable();
    1.30 -	printk("<0>Interrupts off again.\n");
    1.31  
    1.32  	/* It's now safe to remove this processor from the online map */
    1.33  	cpu_clear(cpu, cpu_online_map);
    1.34 @@ -1495,7 +1486,6 @@ int __devinit __cpu_up(unsigned int cpu)
    1.35  	/* Already up, and in cpu_quiescent now? */
    1.36  	if (cpu_isset(cpu, smp_commenced_mask)) {
    1.37  		cpu_enable(cpu);
    1.38 -		printk("<0>cpu_enable completed.\n");
    1.39  		return 0;
    1.40  	}
    1.41  #endif
     2.1 --- a/linux-2.6.11-xen-sparse/arch/xen/kernel/evtchn.c	Fri Jul 08 17:33:42 2005 +0000
     2.2 +++ b/linux-2.6.11-xen-sparse/arch/xen/kernel/evtchn.c	Fri Jul 08 17:37:33 2005 +0000
     2.3 @@ -341,7 +341,6 @@ static void rebind_irq_to_cpu(unsigned i
     2.4      evtchn_op_t op;
     2.5      int evtchn;
     2.6  
     2.7 -    printk("<0>Rebind irq %d to vcpu %d.\n", irq, tcpu);
     2.8      spin_lock(&irq_mapping_update_lock);
     2.9      evtchn = irq_to_evtchn[irq];
    2.10      if (!VALID_EVTCHN(evtchn)) {
    2.11 @@ -349,8 +348,6 @@ static void rebind_irq_to_cpu(unsigned i
    2.12  	return;
    2.13      }
    2.14  
    2.15 -    printk("<0>Is evtchn %d.\n", evtchn);
    2.16 -
    2.17      /* Tell Xen to send future instances of this interrupt to the
    2.18         other vcpu */
    2.19      op.cmd = EVTCHNOP_bind_vcpu;
    2.20 @@ -374,11 +371,10 @@ static void rebind_irq_to_cpu(unsigned i
    2.21         from the hotplug/hotunplug path.  In that case, all cpus are
    2.22         stopped with interrupts disabled, and the missed interrupts
    2.23         will be picked up when they start again.  This is kind of a
    2.24 -       hack. */
    2.25 +       hack.
    2.26 +    */
    2.27      if (!irqs_disabled()) {
    2.28 -	printk("<0>Doing nop ipi\n");
    2.29  	smp_call_function(do_nothing_function, NULL, 0, 0);
    2.30 -	printk("<0>Done nop ipi\n");
    2.31      }
    2.32  }
    2.33