mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Remove chatty printk on CPU bringup.
@ 2003-06-07  6:12 Rusty Russell
  0 siblings, 0 replies; only message in thread
From: Rusty Russell @ 2003-06-07  6:12 UTC (permalink / raw)
  To: torvalds; +Cc: fleming, zwane, linux-kernel, trivial

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.

diff -urpN --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal linux-2.5.70-bk11/init/main.c working-2.5.70-bk11-tmp/init/main.c
--- linux-2.5.70-bk11/init/main.c	2003-05-27 15:02:23.000000000 +1000
+++ working-2.5.70-bk11-tmp/init/main.c	2003-06-07 16:02:55.000000000 +1000
@@ -339,10 +339,8 @@ static void __init smp_init(void)
 	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 */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-06-07  6:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-07  6:12 [PATCH] Remove chatty printk on CPU bringup Rusty Russell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®