diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2008-03-05 21:14:06 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2008-03-05 21:14:06 +0000 |
| commit | f974c086e9d34a443e3bab90a7a958415515758c (patch) | |
| tree | f4a0f2bdbca27b290f4fbfa064ad42fbee8f70a2 /sys/dev/syscons | |
| parent | 6c05d010e49ff5b25332add5fa0f27f02ae33004 (diff) | |
Notes
Diffstat (limited to 'sys/dev/syscons')
| -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 53e5ab7b4bc0..9ee9e329c5bb 100644 --- a/sys/dev/syscons/syscons.h +++ b/sys/dev/syscons/syscons.h @@ -537,7 +537,8 @@ typedef struct { (*kbdsw[(kbd)->kb_index]->poll)((kbd), (on)) #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) \ |
