- 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.
This commit is contained in:
John Baldwin 2001-04-19 15:49:54 +00:00
parent 998e62958c
commit d8915a7f34

View File

@ -207,9 +207,7 @@ static struct witness_order_list_entry order_lists[] = {
{ "ithread table lock", &lock_class_mtx_spin }, { "ithread table lock", &lock_class_mtx_spin },
{ "ithread list lock", &lock_class_mtx_spin }, { "ithread list lock", &lock_class_mtx_spin },
{ "sched lock", &lock_class_mtx_spin }, { "sched lock", &lock_class_mtx_spin },
#ifdef __i386__
{ "clk", &lock_class_mtx_spin }, { "clk", &lock_class_mtx_spin },
#endif
{ "callout", &lock_class_mtx_spin }, { "callout", &lock_class_mtx_spin },
/* /*
* leaf locks * leaf locks
@ -639,7 +637,7 @@ witness_lock(struct lock_object *lock, int flags, const char *file, int line)
out: out:
#ifdef DDB #ifdef DDB
if (witness_ddb && go_into_ddb) if (witness_ddb && go_into_ddb)
Debugger("witness_enter"); Debugger(__func__);
#endif /* DDB */ #endif /* DDB */
w->w_file = file; w->w_file = file;
w->w_line = line; w->w_line = line;
@ -752,7 +750,7 @@ witness_sleep(int check_only, struct lock_object *lock, const char *file,
} }
#ifdef DDB #ifdef DDB
if (witness_ddb && n) if (witness_ddb && n)
Debugger("witness_sleep"); Debugger(__func__);
#endif /* DDB */ #endif /* DDB */
critical_exit(savecrit); critical_exit(savecrit);
return (n); return (n);