]> git.hungrycats.org Git - linux/commitdiff
[PATCH] ia64: quiet down SMP boot messages
authorJes Sorensen <jes@trained-monkey.org>
Wed, 14 Jan 2004 03:26:25 +0000 (19:26 -0800)
committerDavid Mosberger <davidm@tiger.hpl.hp.com>
Wed, 14 Jan 2004 03:26:25 +0000 (19:26 -0800)
This patch gets rid of some superfluous printk's which get tedious on
machines with insane number of CPUs.  The virtual/physical address bit
info is already available via /proc/pal, so there is no need to print
it at boot- time.

arch/ia64/kernel/setup.c
arch/ia64/kernel/smpboot.c
arch/ia64/sn/kernel/setup.c

index d95c23bd9ef1f065c577f8cee1ef2fed7dc1666f..1af40201af8511ae0b2464df1eeb835bd2710dc1 100644 (file)
@@ -525,8 +525,6 @@ identify_cpu (struct cpuinfo_ia64 *c)
                impl_va_msb = vm2.pal_vm_info_2_s.impl_va_msb;
                phys_addr_size = vm1.pal_vm_info_1_s.phys_add_size;
        }
-       printk(KERN_INFO "CPU %d: %lu virtual and %lu physical address bits\n",
-              smp_processor_id(), impl_va_msb + 1, phys_addr_size);
        c->unimpl_va_mask = ~((7L<<61) | ((1L << (impl_va_msb + 1)) - 1));
        c->unimpl_pa_mask = ~((1L<<63) | ((1L << phys_addr_size) - 1));
 }
index dfb1df07e4eddbd04d03de67d65616740c286940..59c58a7f3f76137d409e46a4ce551fad68945f5c 100644 (file)
@@ -405,10 +405,7 @@ do_boot_cpu (int sapicid, int cpu)
        }
        Dprintk("\n");
 
-       if (cpu_isset(cpu, cpu_callin_map)) {
-               /* number CPUs logically, starting from 1 (BSP is 0) */
-               printk(KERN_INFO "CPU%d: CPU has booted.\n", cpu);
-       } else {
+       if (!cpu_isset(cpu, cpu_callin_map)) {
                printk(KERN_ERR "Processor 0x%x/0x%x is stuck.\n", cpu, sapicid);
                ia64_cpu_to_sapicid[cpu] = -1;
                cpu_clear(cpu, cpu_online_map);  /* was set in smp_callin() */
@@ -583,14 +580,11 @@ __cpu_up (unsigned int cpu)
        if (sapicid == -1)
                return -EINVAL;
 
-       printk(KERN_INFO "Processor %d/%d is spinning up...\n", sapicid, cpu);
-
        /* Processor goes to start_secondary(), sets online flag */
        ret = do_boot_cpu(sapicid, cpu);
        if (ret < 0)
                return ret;
 
-       printk(KERN_INFO "Processor %d has spun up...\n", cpu);
        return 0;
 }
 
index 5a8b566c867781248e3c1bdf0fdf2370b1b09f96..3c2ae2e7ebcf250d1460763a2509b08969281f0f 100644 (file)
@@ -398,9 +398,6 @@ sn_cpu_init(void)
        cnode = nasid_to_cnodeid(nasid);
        slice = cpu_physical_id_to_slice(cpuphyid);
 
-       printk("CPU %d: nasid %d, slice %d, cnode %d\n",
-                       smp_processor_id(), nasid, slice, cnode);
-
        memset(pda, 0, sizeof(pda));
        pda->p_nodepda = nodepdaindr[cnode];
        pda->led_address = (typeof(pda->led_address)) (LED0 + (slice<<LED_CPU_SHIFT));