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:
parent
32100bd15f
commit
b518019544
@ -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) \
|
||||
|
Loading…
x
Reference in New Issue
Block a user