diff options
author | jhb <jhb@FreeBSD.org> | 2001-04-19 15:49:54 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-04-19 15:49:54 +0000 |
commit | 793d318d753329a33ca6e19cc4b76eccd3afd084 (patch) | |
tree | df29f6dbac2161e80d5fc31082d7289e6209c8cc /sys/kern | |
parent | fbae347995e452c80144b480ff5963ed5774f522 (diff) | |
download | FreeBSD-src-793d318d753329a33ca6e19cc4b76eccd3afd084.zip FreeBSD-src-793d318d753329a33ca6e19cc4b76eccd3afd084.tar.gz |
- Whoops, forgot to enable the clock lock in the spin order list on the
alpha.
- Change the Debugger() functions to pass in the real function name.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/subr_witness.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c index 7c49a37..44cebd2 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); |