lkml.org 
[lkml]   [2003]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[TRIVIAL] Remove chatty printk on CPU bringup.
Date
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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.195 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site