patch-2.4.15 linux/kernel/printk.c
Next file: linux/kernel/ptrace.c
Previous file: linux/kernel/module.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Sun Nov 11 10:20:21 2001
- Orig file:
v2.4.14/linux/kernel/printk.c
- Orig date:
Mon Nov 5 15:55:35 2001
diff -u --recursive --new-file v2.4.14/linux/kernel/printk.c linux/kernel/printk.c
@@ -535,6 +535,18 @@
}
EXPORT_SYMBOL(console_print);
+void console_unblank(void)
+{
+ struct console *c;
+
+ acquire_console_sem();
+ for (c = console_drivers; c != NULL; c = c->next)
+ if ((c->flags & CON_ENABLED) && c->unblank)
+ c->unblank();
+ release_console_sem();
+}
+EXPORT_SYMBOL(console_unblank);
+
/*
* The console driver calls this routine during kernel initialization
* to register the console printing procedure with printk() and to
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)