summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2003-07-01 16:00:38 +0000
committerscottl <scottl@FreeBSD.org>2003-07-01 16:00:38 +0000
commit5d147363334e57c4dfff5b2d80576787f1412fa7 (patch)
tree10fac55d63aebc224c59f4cee1fdf3d212e5f147 /sys/kern
parent1d6d4a9cc046ed3a39348552f8041e06ce4a6b09 (diff)
downloadFreeBSD-src-5d147363334e57c4dfff5b2d80576787f1412fa7.zip
FreeBSD-src-5d147363334e57c4dfff5b2d80576787f1412fa7.tar.gz
Make swi_vm be INTR_MPSAFE. On all platforms, it is only used to activate
busdma_swi(). Now that busdma_swi() uses driver-provided locking, this should be safe.
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_intr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_intr.c b/sys/kern/kern_intr.c
index ef1cfc1..b605edf 100644
--- a/sys/kern/kern_intr.c
+++ b/sys/kern/kern_intr.c
@@ -571,7 +571,7 @@ start_softintr(void *dummy)
if (swi_add(&clk_ithd, "clock", softclock, NULL, SWI_CLOCK,
INTR_MPSAFE, &softclock_ih) ||
- swi_add(NULL, "vm", swi_vm, NULL, SWI_VM, 0, &vm_ih))
+ swi_add(NULL, "vm", swi_vm, NULL, SWI_VM, INTR_MPSAFE, &vm_ih))
panic("died while creating standard software ithreads");
p = clk_ithd->it_td->td_proc;
OpenPOWER on IntegriCloud