]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
[S390] smp: remove cpu hotplug messages
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 5 Jan 2011 11:48:16 +0000 (12:48 +0100)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Wed, 5 Jan 2011 11:47:31 +0000 (12:47 +0100)
Get rid of messages that indicate if a cpu went online or offline.
There is nothing special about this anymore and these messages might
flood the kernel log buffer which makes debugging harder since more
important messages might be overwritten.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/processor.h
arch/s390/kernel/processor.c
arch/s390/kernel/smp.c

index 1988807d415ed66d84506aefe310f05c9e611636..bf3de04170a7969f1ca889a4eae100bafd3085c6 100644 (file)
@@ -32,7 +32,6 @@ static inline void get_cpu_id(struct cpuid *ptr)
 }
 
 extern void s390_adjust_jiffies(void);
-extern void print_cpu_info(void);
 extern int get_cpu_capability(unsigned int *);
 
 /*
index 644548e615c6c8c6d2384b66f367ce9b46b3d5c8..eeb651b48db3063d18d9bf04d2173ef5883c3a21 100644 (file)
@@ -34,17 +34,6 @@ void __cpuinit cpu_init(void)
        enter_lazy_tlb(&init_mm, current);
 }
 
-/*
- * print_cpu_info - print basic information about a cpu
- */
-void __cpuinit print_cpu_info(void)
-{
-       struct cpuid *id = &per_cpu(cpu_id, smp_processor_id());
-
-       pr_info("Processor %d started, address %d, identification %06X\n",
-               S390_lowcore.cpu_nr, stap(), id->ident);
-}
-
 /*
  * show_cpuinfo - Get information on one CPU for use by procfs.
  */
index 10766be524eb3d00086115e0b3bfdd75a79f63cc..63a97db83f96337013bfeeaf7cb7369a58d2a60f 100644 (file)
@@ -471,8 +471,6 @@ int __cpuinit start_secondary(void *cpuvoid)
        ipi_call_unlock();
        /* Switch on interrupts */
        local_irq_enable();
-       /* Print info about this processor */
-       print_cpu_info();
        /* cpu_idle will call schedule for us */
        cpu_idle();
        return 0;
@@ -681,7 +679,6 @@ void __cpu_die(unsigned int cpu)
                udelay(10);
        smp_free_lowcore(cpu);
        atomic_dec(&init_mm.context.attach_count);
-       pr_info("Processor %d stopped\n", cpu);
 }
 
 void cpu_die(void)
@@ -707,7 +704,6 @@ void __init smp_prepare_cpus(unsigned int max_cpus)
        /* request the 0x1201 emergency signal external interrupt */
        if (register_external_interrupt(0x1201, do_ext_call_interrupt) != 0)
                panic("Couldn't request external interrupt 0x1201");
-       print_cpu_info();
 
        /* Reallocate current lowcore, but keep its contents. */
        lowcore = (void *) __get_free_pages(GFP_KERNEL | GFP_DMA, LC_ORDER);