Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933182AbbFILMd (ORCPT ); Tue, 9 Jun 2015 07:12:33 -0400 Received: from mail-la0-f48.google.com ([209.85.215.48]:34087 "EHLO mail-la0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932929AbbFILMG (ORCPT ); Tue, 9 Jun 2015 07:12:06 -0400 From: Alexander Kuleshov To: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" Cc: Alexander Kuleshov , Andy Shevchenko , LKML , Greg Kroah-Hartman , Borislav Petkov , Mark Rustad , Yinghai Lu Subject: [PATCH v11 5/5] x86/earlyprintk: Patch for testing earlyprintk Date: Tue, 9 Jun 2015 17:11:58 +0600 Message-Id: <1433848318-6062-1-git-send-email-kuleshovmail@gmail.com> X-Mailer: git-send-email 2.4.0.GIT In-Reply-To: <1433848247-3550-1-git-send-email-kuleshovmail@gmail.com> References: <1433848247-3550-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: 1571 Lines: 51 Signed-off-by: Alexander Kuleshov --- arch/x86/kernel/head64.c | 1 + arch/x86/kernel/setup.c | 1 + init/main.c | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/x86/kernel/head64.c b/arch/x86/kernel/head64.c index 041be2c..1d1d167 100644 --- a/arch/x86/kernel/head64.c +++ b/arch/x86/kernel/head64.c @@ -204,5 +204,6 @@ void __init x86_64_start_reservations(char *real_mode_data) reserve_ebda_region(); + early_printk("Go on the start_kernel\n"); start_kernel(); } diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index edfdb6a..22e8f39 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c @@ -876,6 +876,7 @@ void __init setup_builtin_cmdline(void) void __init setup_arch(char **cmdline_p) { + early_printk("Now setup arch is working\n"); memblock_reserve(__pa_symbol(_text), (unsigned long)__bss_stop - (unsigned long)_text); diff --git a/init/main.c b/init/main.c index 2115055..79087b8 100644 --- a/init/main.c +++ b/init/main.c @@ -493,7 +493,7 @@ asmlinkage __visible void __init start_kernel(void) { char *command_line; char *after_dashes; - + early_printk("start_kernel function 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/