lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sun, 28 Sep 2008 18:49:46 +0200 From: dcg <diegocg@...il.com> To: Ingo Molnar <mingo@...e.hu> Cc: linux-kernel@...r.kernel.org, Thomas Gleixner <tglx@...utronix.de>, "H. Peter Anvin" <hpa@...or.com> Subject: Re: [PATCH] x86_64: be less annoying on boot El Sat, 27 Sep 2008 21:18:24 +0200, Ingo Molnar <mingo@...e.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@...il.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); } -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists