Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 974de4d7 authored by Heiko Carstens's avatar Heiko Carstens Committed by Martin Schwidefsky
Browse files

[S390] smp: remove cpu hotplug messages



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: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent fa188ae1
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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 *);

/*
+0 −11
Original line number Diff line number Diff line
@@ -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.
 */
+0 −4
Original line number Diff line number Diff line
@@ -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);