[TRIVIAL] Remove chatty printk on CPU bringup.

Rusty Trivial Russell (rusty@rustcorp.com.au)
Mon, 07 Jul 2003 17:56:39 +1000


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/