From: Rusty Russell <rusty@rustcorp.com.au>
To: torvalds@transmeta.com
Cc: fleming@austin.ibm.com, zwane@linuxpower.ca,
linux-kernel@vger.kernel.org, trivial@rustcorp.com.au
Subject: [PATCH] Remove chatty printk on CPU bringup.
Date: Sat, 07 Jun 2003 16:12:14 +1000 [thread overview]
Message-ID: <20030607061805.34E892C15B@lists.samba.org> (raw)
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 */
reply other threads:[~2003-06-07 6:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030607061805.34E892C15B@lists.samba.org \
--to=rusty@rustcorp.com.au \
--cc=fleming@austin.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
--cc=trivial@rustcorp.com.au \
--cc=zwane@linuxpower.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®