mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
bf49347744
commit
1d9c3ad3ef
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Reference in a new issue