From: dcg <diegocg@gmail.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: linux-kernel@vger.kernel.org,
Thomas Gleixner <tglx@linutronix.de>,
"H. Peter Anvin" <hpa@zytor.com>
Subject: Re: [PATCH] x86_64: be less annoying on boot
Date: Sun, 28 Sep 2008 18:49:46 +0200 [thread overview]
Message-ID: <20080928184946.47bb63d9@diego-desktop> (raw)
In-Reply-To: <20080927191824.GC18619@elte.hu>
El Sat, 27 Sep 2008 21:18:24 +0200, Ingo Molnar <mingo@elte.hu> escribió:
> could you please send a patch that only calls that early_printk() if
> console_loglevel == 10? (i.e. if "debug" has been passed)
Sure, here it is.
Honour "quiet" boot parameter in early_printk() calls
Signed-off-by: Diego Calleja <diegocg@gmail.com>
---
arch/x86/kernel/head64.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
Index: 2.6/arch/x86/kernel/head64.c
===================================================================
--- 2.6.orig/arch/x86/kernel/head64.c 2008-09-27 22:54:41.000000000 +0200
+++ 2.6/arch/x86/kernel/head64.c 2008-09-27 23:14:02.000000000 +0200
@@ -108,11 +108,13 @@
}
load_idt((const struct desc_ptr *)&idt_descr);
- early_printk("Kernel alive\n");
+ if (console_loglevel == 10)
+ early_printk("Kernel alive\n");
x86_64_init_pda();
- early_printk("Kernel really alive\n");
+ if (console_loglevel == 10)
+ early_printk("Kernel really alive\n");
x86_64_start_reservations(real_mode_data);
}
next prev parent reply other threads:[~2008-09-28 16:49 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-24 18:35 [PATCH] x86_64: be less annoying on boot Bill Nottingham
2008-09-25 9:15 ` Ingo Molnar
2008-09-25 16:13 ` Bill Nottingham
2008-09-27 18:50 ` Ingo Molnar
2008-09-27 18:51 ` Ingo Molnar
2008-09-27 19:11 ` dcg
2008-09-27 19:18 ` Ingo Molnar
2008-09-28 16:49 ` dcg [this message]
2008-09-29 8:06 ` Ingo Molnar
2008-09-28 16:53 ` Andi Kleen
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=20080928184946.47bb63d9@diego-desktop \
--to=diegocg@gmail.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=tglx@linutronix.de \
/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