diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2000-12-12 03:48:40 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2000-12-12 03:48:40 +0000 |
| commit | 61d68d6cb89aca251d46e64c5f6086f94321e43c (patch) | |
| tree | aa9bcfc54bc982cc7c50db83af40da367d0265a7 | |
| parent | fed8edf5639e09bf32e884cdb5d9858be6c660d7 (diff) | |
Notes
| -rw-r--r-- | sys/sys/mutex.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/sys/sys/mutex.h b/sys/sys/mutex.h index 1c074b3cb7c3..df93faf14efe 100644 --- a/sys/sys/mutex.h +++ b/sys/sys/mutex.h @@ -449,22 +449,9 @@ void witness_restore(struct mtx *, const char *, int); /* Common strings */ #ifdef _KERN_MUTEX_C_ -#ifdef KTR_EXTEND - -/* - * KTR_EXTEND saves file name and line for all entries, so we don't need them - * here. Theoretically we should also change the entries which refer to them - * (from CTR5 to CTR3), but since they're just passed to snprintf as the last - * parameters, it doesn't do any harm to leave them. - */ -char STR_mtx_enter_fmt[] = "GOT %s [%p] r=%d"; -char STR_mtx_exit_fmt[] = "REL %s [%p] r=%d"; -char STR_mtx_try_enter_fmt[] = "TRY_ENTER %s [%p] result=%d"; -#else char STR_mtx_enter_fmt[] = "GOT %s [%p] r=%d at %s:%d"; char STR_mtx_exit_fmt[] = "REL %s [%p] r=%d at %s:%d"; char STR_mtx_try_enter_fmt[] = "TRY_ENTER %s [%p] result=%d at %s:%d"; -#endif char STR_mtx_bad_type[] = "((type) & (MTX_NORECURSE | MTX_NOSWITCH)) == 0"; char STR_mtx_owned[] = "mtx_owned(mpp)"; char STR_mtx_recurse[] = "mpp->mtx_recurse == 0"; |
