Mark the syscons video spin mutex as recursable since it is currently

recursed in a few places.

MFC after:	1 week
This commit is contained in:
jhb 2008-02-13 23:38:08 +00:00
parent 32100bd15f
commit b518019544

View File

@ -517,7 +517,8 @@ typedef struct {
#define ISSIGVALID(sig) ((sig) > 0 && (sig) < NSIG)
#define SC_VIDEO_LOCKINIT(sc) \
mtx_init(&(sc)->video_mtx, "syscons video lock", NULL,MTX_SPIN);
mtx_init(&(sc)->video_mtx, "syscons video lock", NULL, \
MTX_SPIN | MTX_RECURSE);
#define SC_VIDEO_LOCK(sc) \
do { \
if (!cold) \