From c1e95d8b664b167d9f74b4fa2570941cf90cf32f Mon Sep 17 00:00:00 2001 From: Jes Sorensen Date: Tue, 13 Jan 2004 19:26:25 -0800 Subject: [PATCH] [PATCH] ia64: quiet down SMP boot messages 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 | 2 -- arch/ia64/kernel/smpboot.c | 8 +------- arch/ia64/sn/kernel/setup.c | 3 --- 3 files changed, 1 insertion(+), 12 deletions(-) diff --git a/arch/ia64/kernel/setup.c b/arch/ia64/kernel/setup.c index d95c23bd9ef1f..1af40201af851 100644 --- a/arch/ia64/kernel/setup.c +++ b/arch/ia64/kernel/setup.c @@ -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)); } diff --git a/arch/ia64/kernel/smpboot.c b/arch/ia64/kernel/smpboot.c index dfb1df07e4edd..59c58a7f3f761 100644 --- a/arch/ia64/kernel/smpboot.c +++ b/arch/ia64/kernel/smpboot.c @@ -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; } diff --git a/arch/ia64/sn/kernel/setup.c b/arch/ia64/sn/kernel/setup.c index 5a8b566c86778..3c2ae2e7ebcf2 100644 --- a/arch/ia64/sn/kernel/setup.c +++ b/arch/ia64/sn/kernel/setup.c @@ -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<