Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 28740
b: refs/heads/master
c: 3b5e905
h: refs/heads/master
v: v3
  • Loading branch information
Benjamin Herrenschmidt authored and Paul Mackerras committed Jun 9, 2006
1 parent 5b23c73 commit f206572
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e78dbc800c37f035d476c4fdebdf43cdecfcb731
refs/heads/master: 3b5e905ee3bd23e9311951890aba57a0dbc81ca4
7 changes: 5 additions & 2 deletions trunk/arch/powerpc/kernel/udbg.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include <linux/types.h>
#include <linux/sched.h>
#include <linux/console.h>
#include <linux/init.h>
#include <asm/processor.h>
#include <asm/udbg.h>

Expand Down Expand Up @@ -141,12 +142,14 @@ static int early_console_initialized;

void __init disable_early_printk(void)
{
#if 1
if (!early_console_initialized)
return;
if (strstr(saved_command_line, "udbg-immortal")) {
printk(KERN_INFO "early console immortal !\n");
return;
}
unregister_console(&udbg_console);
early_console_initialized = 0;
#endif
}

/* called by setup_system */
Expand Down

0 comments on commit f206572

Please sign in to comment.