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:
John Baldwin 2008-02-13 23:38:08 +00:00
parent bf49347744
commit 1d9c3ad3ef

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) \