aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2001-04-19 15:49:54 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2001-04-19 15:49:54 +0000
commitd8915a7f349bfc04df5a761fbd60af26e9b92c68 (patch)
tree88292189fdffc77e80e5624b0cef6d976bdbc516
parent998e62958c198654c72da3dee8b5397f1b71a44d (diff)
Notes
-rw-r--r--sys/kern/subr_witness.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c
index 7c49a37ac58f..44cebd2407a4 100644
--- a/sys/kern/subr_witness.c
+++ b/sys/kern/subr_witness.c
@@ -207,9 +207,7 @@ static struct witness_order_list_entry order_lists[] = {
{ "ithread table lock", &lock_class_mtx_spin },
{ "ithread list lock", &lock_class_mtx_spin },
{ "sched lock", &lock_class_mtx_spin },
-#ifdef __i386__
{ "clk", &lock_class_mtx_spin },
-#endif
{ "callout", &lock_class_mtx_spin },
/*
* leaf locks
@@ -639,7 +637,7 @@ witness_lock(struct lock_object *lock, int flags, const char *file, int line)
out:
#ifdef DDB
if (witness_ddb && go_into_ddb)
- Debugger("witness_enter");
+ Debugger(__func__);
#endif /* DDB */
w->w_file = file;
w->w_line = line;
@@ -752,7 +750,7 @@ again:
}
#ifdef DDB
if (witness_ddb && n)
- Debugger("witness_sleep");
+ Debugger(__func__);
#endif /* DDB */
critical_exit(savecrit);
return (n);