diff options
author | marius <marius@FreeBSD.org> | 2007-06-16 23:30:57 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2007-06-16 23:30:57 +0000 |
commit | 325b06e2e2ba8bb30a4a1510ed1c200a958131d0 (patch) | |
tree | a54362ab15764f03b850e3e623b62b3874c27a8b /sys/kern/subr_witness.c | |
parent | eebf6babac37e47351416eac1f6d0d20200a9ae1 (diff) | |
download | FreeBSD-src-325b06e2e2ba8bb30a4a1510ed1c200a958131d0.zip FreeBSD-src-325b06e2e2ba8bb30a4a1510ed1c200a958131d0.tar.gz |
- 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.
Diffstat (limited to 'sys/kern/subr_witness.c')
-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 31f306e..7b51cc6 100644 --- a/sys/kern/subr_witness.c +++ b/sys/kern/subr_witness.c @@ -408,9 +408,12 @@ static struct witness_order_list_entry order_lists[] = { { "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 }, |