kernel - Fix spinlock use in syscons
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 30 Aug 2010 05:13:07 +0000 (22:13 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 30 Aug 2010 05:13:07 +0000 (22:13 -0700)
commitcbfc8ecbff0275e60893ea97ae0e3ae818eb4d7e
tree30300517a20bb6eccff086fc0a3670c0bd5317e2
parentbf844e13222ac497b4dd80eb5d3eb30d24a44834
kernel - Fix spinlock use in syscons

* Spinlocks cannot be held across complex calls, particularly calls
  that might block or switch.

  This fixes a spinlock panic during lwkt.tty_mpsafe testing.
sys/dev/misc/syscons/syscons.c