diff options
-rw-r--r-- | sys/kern/kern_intr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_intr.c b/sys/kern/kern_intr.c index 8539c6e..17af1ee 100644 --- a/sys/kern/kern_intr.c +++ b/sys/kern/kern_intr.c @@ -360,7 +360,7 @@ ithread_create(const char *name, struct intr_handler *ih) ithd = malloc(sizeof(struct intr_thread), M_ITHREAD, M_WAITOK | M_ZERO); - error = kproc_kthread_create(ithread_loop, ih, &intrproc, + error = kproc_kthread_add(ithread_loop, ih, &intrproc, &td, RFSTOPPED | RFHIGHPID, 0, "intr", "%s", name); if (error) |