kernel - Do not back out critical section for exchange_scr() call
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 1 Nov 2010 02:38:46 +0000 (19:38 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 1 Nov 2010 02:38:46 +0000 (19:38 -0700)
commit1810054a4ae5b647cf09b7417d2e619d21770b5f
tree823fed23ef0154a6b59e0dbafd9e55bbff563c7a
parentd8129ed32f842ce396ec6ffef6c37ae4a258bcde
kernel - Do not back out critical section for exchange_scr() call

* The critical section may be protecting a spinlock and cannot be safely
  backed out when calling exchange_scr().

* Fixes a panic.

Reported-by: rob
sys/dev/misc/syscons/syscons.c