Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 8044
b: refs/heads/master
c: 38c0ff0
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Rothwell authored and Paul Mackerras committed Sep 9, 2005
1 parent 6b3dcf1 commit cd29973
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 34b5233f379847097a1925a02b62f129c407c1e4
refs/heads/master: 38c0ff06d5ba05b6fbf18652c49747ad320aaeb0
6 changes: 6 additions & 0 deletions trunk/arch/ppc64/kernel/udbg.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,14 +158,20 @@ static struct console udbg_console = {
.index = -1,
};

static int early_console_initialized;

void __init disable_early_printk(void)
{
if (!early_console_initialized)
return;
unregister_console(&udbg_console);
early_console_initialized = 0;
}

/* called by setup_system */
void register_early_udbg_console(void)
{
early_console_initialized = 1;
register_console(&udbg_console);
}

Expand Down

0 comments on commit cd29973

Please sign in to comment.