Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754342AbbGAJqA (ORCPT ); Wed, 1 Jul 2015 05:46:00 -0400 Received: from mail-lb0-f173.google.com ([209.85.217.173]:36542 "EHLO mail-lb0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753755AbbGAJnX (ORCPT ); Wed, 1 Jul 2015 05:43:23 -0400 From: Alexander Kuleshov To: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" Cc: Greg Kroah-Hartman , Andy Shevchenko , Mark Einon , David Cohen , Borislav Petkov , linux-kernel@vger.kernel.org, Alexander Kuleshov Subject: [PATCH v14 4/4] x86/earlyprintk: add some early_printk for tests Date: Wed, 1 Jul 2015 15:43:19 +0600 Message-Id: <1435743799-11604-1-git-send-email-kuleshovmail@gmail.com> X-Mailer: git-send-email 2.4.0.GIT In-Reply-To: <1435743760-11376-1-git-send-email-kuleshovmail@gmail.com> References: <1435743760-11376-1-git-send-email-kuleshovmail@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1363 Lines: 45 This patch is only for test of the full patch series. It provides a couple calls of the early_printk() function. [Not for applying, only for testing] Signed-off-by: Alexander Kuleshov --- arch/x86/kernel/setup.c | 2 ++ init/main.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index 4b8d9cb..419835b 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c @@ -878,6 +878,8 @@ void __init setup_builtin_cmdline(void) void __init setup_arch(char **cmdline_p) { + early_printk("Beginning of the x86 specific setup\n"); + memblock_reserve(__pa_symbol(_text), (unsigned long)__bss_stop - (unsigned long)_text); diff --git a/init/main.c b/init/main.c index c599aea..deeb2a2 100644 --- a/init/main.c +++ b/init/main.c @@ -499,6 +499,8 @@ asmlinkage __visible void __init start_kernel(void) char *command_line; char *after_dashes; + early_printk("start_kernel from init/main.c started to work\n"); + /* * Need to run as early as possible, to initialize the * lockdep hash: -- 2.4.0.GIT -- 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/