From c987a9115bfb1e77e72981a0e41155382b06af54 Mon Sep 17 00:00:00 2001 From: jhb Date: Fri, 13 Apr 2001 08:31:38 +0000 Subject: - Add a comment at the start of the spin locks list. - The alpha SMP code uses an "ap boot" spinlock as well. --- sys/kern/subr_witness.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys/kern/subr_witness.c') diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c index 06ee342..c9e186d 100644 --- a/sys/kern/subr_witness.c +++ b/sys/kern/subr_witness.c @@ -192,6 +192,9 @@ static struct witness_order_list_entry order_lists[] = { { "uidinfo hash", &lock_class_mtx_sleep }, { "uidinfo struct", &lock_class_mtx_sleep }, { NULL, NULL }, + /* + * spin locks + */ #if defined(__i386__) && defined (SMP) { "com", &lock_class_mtx_spin }, #endif @@ -212,8 +215,8 @@ static struct witness_order_list_entry order_lists[] = { * leaf locks */ #ifdef SMP -#ifdef __i386__ { "ap boot", &lock_class_mtx_spin }, +#ifdef __i386__ { "imen", &lock_class_mtx_spin }, #endif { "smp rendezvous", &lock_class_mtx_spin }, -- cgit v1.1