Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=36ea1d57a4bb7d033b5f99f13c08f9af56cd70d7
Commit:     36ea1d57a4bb7d033b5f99f13c08f9af56cd70d7
Parent:     ca4437d4a58147aa975f3b4ad8f6cb35dfa43bdc
Author:     Franck Bui-Huu <[EMAIL PROTECTED]>
AuthorDate: Thu May 3 13:01:32 2007 +0200
Committer:  Ralf Baechle <[EMAIL PROTECTED]>
CommitDate: Fri May 11 14:28:30 2007 +0100

    [MIPS] early_printk: allow the early console to run earlier
    
    Signed-off-by: Franck Bui-Huu <[EMAIL PROTECTED]>
    Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]>
---
 arch/mips/kernel/early_printk.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/arch/mips/kernel/early_printk.c b/arch/mips/kernel/early_printk.c
index 818d7c3..9dccfa4 100644
--- a/arch/mips/kernel/early_printk.c
+++ b/arch/mips/kernel/early_printk.c
@@ -30,7 +30,13 @@ static struct console early_console __initdata = {
        .index  = -1
 };
 
+static int early_console_initialized __initdata;
+
 void __init setup_early_printk(void)
 {
+       if (early_console_initialized)
+               return;
+       early_console_initialized = 1;
+
        register_console(&early_console);
 }
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to