diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2001-07-31 17:45:50 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2001-07-31 17:45:50 +0000 |
| commit | 5cb0fbe47e7601a3b3b7b880a5b634dddf0a9cf5 (patch) | |
| tree | 17d35f75d4114e2acc7240ff305254742c6a2ddc /sys/kern/kern_mutex.c | |
| parent | 32bca5fe03fd0b53a30fc1f5e4c13d3cb0a008fe (diff) | |
Notes
Diffstat (limited to 'sys/kern/kern_mutex.c')
| -rw-r--r-- | sys/kern/kern_mutex.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/kern/kern_mutex.c b/sys/kern/kern_mutex.c index f2740f65f8a5..6baf62a8dc57 100644 --- a/sys/kern/kern_mutex.c +++ b/sys/kern/kern_mutex.c @@ -562,6 +562,9 @@ _mtx_unlock_sleep(struct mtx *m, int opts, const char *file, int line) void _mtx_assert(struct mtx *m, int what, const char *file, int line) { + + if (panicstr != NULL) + return; switch (what) { case MA_OWNED: case MA_OWNED | MA_RECURSED: |
