[TRIVIAL] Remove chatty printk on CPU bringup.

From: Rusty Trivial Russell (rusty@rustcorp.com.au)
Date: Mon Jul 07 2003 - 02:56:39 EST


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/



This archive was generated by hypermail 2b29 : Mon Jul 07 2003 - 22:00:28 EST