Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.4.13-ac8 /kernel/printk.c

Filename:/kernel/printk.c
Lines Added:12
Lines Deleted:0
Also changed in: (Previous) 2.4.13-ac7  2.4.13-ac6  2.4.10  2.4.10-pre15  2.4.10-pre14  2.4.10-pre13 
(Following) 2.4.14  2.4.15-pre3  2.4.15-pre4  2.4.15-pre5  2.4.15-pre6  2.4.15-pre7 

Location
[  2.4.13-ac8
  [  kernel
     o  printk.c

Patch

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla/kernel/printk.c linux.ac/kernel/printk.c
--- linux.vanilla/kernel/printk.c   Mon Sep 17 21:16:30 2001
+++ linux.ac/kernel/printk.c   Tue Oct 30 15:42:34 2001
@@ -527,6 +527,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


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.