diff options
| -rw-r--r-- | sys/kern/subr_witness.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c index e000aedc9d27..c984d22c12b4 100644 --- a/sys/kern/subr_witness.c +++ b/sys/kern/subr_witness.c @@ -197,9 +197,12 @@ static struct witness_order_list_entry order_lists[] = { /* * spin locks */ -#if defined(__i386__) && defined (SMP) +#ifdef SMP + { "ap boot", &lock_class_mtx_spin }, +#ifdef __i386__ { "com", &lock_class_mtx_spin }, #endif +#endif { "sio", &lock_class_mtx_spin }, #ifdef __i386__ { "cy", &lock_class_mtx_spin }, @@ -213,7 +216,6 @@ static struct witness_order_list_entry order_lists[] = { * leaf locks */ #ifdef SMP - { "ap boot", &lock_class_mtx_spin }, #ifdef __i386__ { "imen", &lock_class_mtx_spin }, #endif |
