Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 100672
b: refs/heads/master
c: cd3a1b8
h: refs/heads/master
v: v3
  • Loading branch information
Jan Kiszka authored and Thomas Gleixner committed May 24, 2008
1 parent 2667a6b commit ffca532
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: 3b8945e8d40645eecdb7d2357ca531f9b4dd9f71
refs/heads/master: cd3a1b8562d28490b334a61d5eb05df3d722d91e
7 changes: 5 additions & 2 deletions trunk/kernel/printk.c
Original file line number Diff line number Diff line change
Expand Up @@ -1157,8 +1157,11 @@ void register_console(struct console *console)
console->index = 0;
if (console->setup == NULL ||
console->setup(console, NULL) == 0) {
console->flags |= CON_ENABLED | CON_CONSDEV;
preferred_console = 0;
console->flags |= CON_ENABLED;
if (console->device) {
console->flags |= CON_CONSDEV;
preferred_console = 0;
}
}
}

Expand Down

0 comments on commit ffca532

Please sign in to comment.