* Start standard software interrupt threads */
| 1584 | * Start standard software interrupt threads |
| 1585 | */ |
| 1586 | static void |
| 1587 | start_softintr(void *dummy) |
| 1588 | { |
| 1589 | |
| 1590 | if (swi_add(&clk_intr_event, "clk", NULL, NULL, SWI_CLOCK, |
| 1591 | INTR_MPSAFE, NULL)) |
| 1592 | panic("died while creating clk swi ithread"); |
| 1593 | if (swi_add(NULL, "vm", swi_vm, NULL, SWI_VM, INTR_MPSAFE, &vm_ih)) |
| 1594 | panic("died while creating vm swi ithread"); |
| 1595 | } |
| 1596 | SYSINIT(start_softintr, SI_SUB_SOFTINTR, SI_ORDER_FIRST, start_softintr, |
| 1597 | NULL); |
| 1598 |