From 79be8b5082d97af4be38510d3b00ee9f8617599d Mon Sep 17 00:00:00 2001 From: Marius Strobl Date: Sat, 16 Jun 2007 23:30:57 +0000 Subject: [PATCH] - Remove zstty spin lock for no longer existing zs(4). - Move the rtc_mtx spin lock out from under #ifdef SMP as it's just not SMP-specific. - Add a new spin lock pcib_mtx for locking "fast" interrupt handlers of host-to-PCI bridge drivers on sparc64. --- sys/kern/subr_witness.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c index 31f306e0f557..7b51cc61c3ec 100644 --- a/sys/kern/subr_witness.c +++ b/sys/kern/subr_witness.c @@ -407,10 +407,13 @@ static struct witness_order_list_entry order_lists[] = { #ifdef __i386__ { "cy", &lock_class_mtx_spin }, { "descriptor tables", &lock_class_mtx_spin }, +#endif +#ifdef __sparc64__ + { "pcib_mtx", &lock_class_mtx_spin }, + { "rtc_mtx", &lock_class_mtx_spin }, #endif { "scc_hwmtx", &lock_class_mtx_spin }, { "uart_hwmtx", &lock_class_mtx_spin }, - { "zstty", &lock_class_mtx_spin }, { "fast_taskqueue", &lock_class_mtx_spin }, { "intr table", &lock_class_mtx_spin }, #ifdef HWPMC_HOOKS @@ -439,7 +442,6 @@ static struct witness_order_list_entry order_lists[] = { #endif #ifdef __sparc64__ { "ipi", &lock_class_mtx_spin }, - { "rtc_mtx", &lock_class_mtx_spin }, #endif #endif { "clk", &lock_class_mtx_spin },