diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2008-02-13 23:38:08 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2008-02-13 23:38:08 +0000 |
| commit | 1d9c3ad3ef6623762107360da30f0cba6fd38bd2 (patch) | |
| tree | 8ade4e6cadbb84bfcc1772cfcafa0f9744969ffc /sys/dev | |
| parent | bf49347744914c456b67129b12c614d925eda80e (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/syscons/syscons.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/syscons/syscons.h b/sys/dev/syscons/syscons.h index 1a19b605c187..f17b294d51a3 100644 --- a/sys/dev/syscons/syscons.h +++ b/sys/dev/syscons/syscons.h @@ -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) \ |
