kernel - Fix panic when unblanking screen saver
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 5 Oct 2010 18:49:51 +0000 (11:49 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 5 Oct 2010 18:49:51 +0000 (11:49 -0700)
commit1758f306a257384deb7673ae16e4d380f5380731
treeb246b206d001aabfd8113c5708181e94e2d39c3c
parent6494bbf55217ae4f3167d3242590ee4136819602
kernel - Fix panic when unblanking screen saver

* When console output occurs while the screen is blanked, e.g. when
  using something like blank_saver.ko, we hit a hard path lock assertion.

* Queue the unblank request instead of trying to unblank the screen
  directly in this path.

Reported-by: Sascha Wildner <swildner@crater.dragonflybsd.org>
sys/dev/misc/syscons/syscons.c