[PATCH] Remove chatty printk on CPU bringup.

From: Rusty Russell (rusty@rustcorp.com.au)
Date: Sat Jun 07 2003 - 01:12:14 EST


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 */ - 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 : Sat Jun 07 2003 - 22:00:32 EST