Skip to contentSkip to conversation

Remove chatty printk on CPU bringup.

TRIVIAL Rusty Trivial Russell 1 participant 1 message Jul 7, 2003

lore
Share & tools
lore
#0 lore raw

From: Rusty Russell <[email protected]>

Linus, please apply.

The printk is useless, and on archs where cpu_possible(i) is always true, it spams the console.

Thanks,
Rusty.
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.

init/main.c renamed from init/main.c.orig +1 -3
@@ -342,10 +342,8 @@
 	for (i = 0; i < NR_CPUS; i++) {
 		if (num_online_cpus() >= max_cpus)
 			break;
-		if (cpu_possible(i) && !cpu_online(i)) {
-			printk("Bringing up %i\n", i);
+		if (cpu_possible(i) && !cpu_online(i))
 			cpu_up(i);
-		}
 	}
 
 	/* Any cleanup work */
Signature · 3 lines
  What is this? http://www.kernel.org/pub/linux/kernel/people/rusty/trivial/
  Don't blame me: the Monkey is driving
  File: Rusty Russell <[email protected]>: [PATCH] Remove chatty printk on CPU bringup.