mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [TRIVIAL] Remove chatty printk on CPU bringup.
@ 2003-07-07  7:56 Rusty Trivial Russell
  0 siblings, 0 replies; only message in thread
From: Rusty Trivial Russell @ 2003-07-07  7:56 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel

From:  Rusty Russell <rusty@rustcorp.com.au>

  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.
  

--- trivial-2.5.74-bk4/init/main.c.orig	2003-07-07 17:36:51.000000000 +1000
+++ trivial-2.5.74-bk4/init/main.c	2003-07-07 17:36:51.000000000 +1000
@@ -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 */
-- 
  What is this? http://www.kernel.org/pub/linux/kernel/people/rusty/trivial/
  Don't blame me: the Monkey is driving
  File: Rusty Russell <rusty@rustcorp.com.au>: [PATCH] Remove chatty printk on CPU bringup.

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

only message in thread, other threads:[~2003-07-07  7:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-07  7:56 [TRIVIAL] Remove chatty printk on CPU bringup Rusty Trivial 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®