From: tip-bot for Alexander Kuleshov <tipbot@zytor.com>
To: linux-tip-commits@vger.kernel.org
Cc: kuleshovmail@gmail.com, bp@suse.de, tglx@linutronix.de,
mingo@kernel.org, hpa@zytor.com, linux-kernel@vger.kernel.org
Subject: [tip:x86/boot] x86/boot/64: Remove pointless early_printk() message
Date: Tue, 17 Mar 2015 06:09:34 -0700 [thread overview]
Message-ID: <tip-91d8f0416f3989e248d3a3d3efb821eda10a85d2@git.kernel.org> (raw)
In-Reply-To: <1426597205-5142-1-git-send-email-kuleshovmail@gmail.com>
Commit-ID: 91d8f0416f3989e248d3a3d3efb821eda10a85d2
Gitweb: http://git.kernel.org/tip/91d8f0416f3989e248d3a3d3efb821eda10a85d2
Author: Alexander Kuleshov <kuleshovmail@gmail.com>
AuthorDate: Tue, 17 Mar 2015 19:00:05 +0600
Committer: Ingo Molnar <mingo@kernel.org>
CommitDate: Tue, 17 Mar 2015 14:03:04 +0100
x86/boot/64: Remove pointless early_printk() message
earlyprintk is not initialised yet by the setup_early_printk() function
so we can remove it.
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
Cc: Borislav Petkov <bp@suse.de>
Link: http://lkml.kernel.org/r/1426597205-5142-1-git-send-email-kuleshovmail@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
arch/x86/kernel/head64.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/arch/x86/kernel/head64.c b/arch/x86/kernel/head64.c
index eda1a86..8c58135 100644
--- a/arch/x86/kernel/head64.c
+++ b/arch/x86/kernel/head64.c
@@ -172,9 +172,6 @@ asmlinkage __visible void __init x86_64_start_kernel(char * real_mode_data)
*/
load_ucode_bsp();
- if (console_loglevel >= CONSOLE_LOGLEVEL_DEBUG)
- early_printk("Kernel alive\n");
-
clear_page(init_level4_pgt);
/* set init_level4_pgt kernel high mapping*/
init_level4_pgt[511] = early_level4_pgt[511];
prev parent reply other threads:[~2015-03-17 13:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-17 12:59 [PATCH RFC] remove pointless early_printk call in x86/kernel/head64.c Alexander Kuleshov
2015-03-17 13:00 ` [PATCH] x86/head64.c: remove pointless early_printk call Alexander Kuleshov
2015-03-17 13:09 ` tip-bot for Alexander Kuleshov [this message]
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=tip-91d8f0416f3989e248d3a3d3efb821eda10a85d2@git.kernel.org \
--to=tipbot@zytor.com \
--cc=bp@suse.de \
--cc=hpa@zytor.com \
--cc=kuleshovmail@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=mingo@kernel.org \
--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
Powered by JetHome