1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-11 14:10:34 +00:00

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.
This commit is contained in:
Scott Long 2003-07-01 16:00:38 +00:00
parent 745a4a9ef8
commit 79501b66a7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=117128

View File

@ -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;