patch-2.4.9 linux/drivers/char/console.c
Next file: linux/drivers/char/cyclades.c
Previous file: linux/drivers/char/agp/agpgart_fe.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Sun Aug 12 10:02:17 2001
- Orig file:
v2.4.8/linux/drivers/char/console.c
- Orig date:
Tue Jul 3 17:08:19 2001
diff -u --recursive --new-file v2.4.8/linux/drivers/char/console.c linux/drivers/char/console.c
@@ -2658,12 +2658,15 @@
printk("unblank_screen: tty %d not allocated ??\n", fg_console+1);
return;
}
+ currcons = fg_console;
+ if (vcmode != KD_TEXT)
+ return; /* but leave console_blanked != 0 */
+
console_timer.function = blank_screen;
if (blankinterval) {
mod_timer(&console_timer, jiffies + blankinterval);
}
- currcons = fg_console;
console_blanked = 0;
if (console_blank_hook)
console_blank_hook(0);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)