patch-2.4.0-test3 linux/kernel/printk.c
Next file: linux/kernel/sched.c
Previous file: linux/kernel/module.c
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Wed Jul 5 11:00:21 2000
- Orig file:
v2.4.0-test2/linux/kernel/printk.c
- Orig date:
Fri May 12 14:18:56 2000
diff -u --recursive --new-file v2.4.0-test2/linux/kernel/printk.c linux/kernel/printk.c
@@ -471,6 +471,14 @@
}
}
+ /* If last console is removed, we re-enable picking the first
+ * one that gets registered. Without that, pmac early boot console
+ * would prevent fbcon from taking over.
+ */
+ if (console_drivers == NULL)
+ preferred_console = -1;
+
+
spin_unlock_irqrestore(&console_lock, flags);
return res;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)