summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_intr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_intr.c')
-rw-r--r--sys/kern/kern_intr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_intr.c b/sys/kern/kern_intr.c
index e626988..5e464f9 100644
--- a/sys/kern/kern_intr.c
+++ b/sys/kern/kern_intr.c
@@ -1231,7 +1231,7 @@ ithread_loop(void *arg)
if (!ithd->it_need && !(ithd->it_flags & IT_DEAD)) {
TD_SET_IWAIT(td);
ie->ie_count = 0;
- mi_switch(SW_VOL, NULL);
+ mi_switch(SW_VOL | SWT_IWAIT, NULL);
}
thread_unlock(td);
}
@@ -1389,7 +1389,7 @@ ithread_loop(void *arg)
if (!ithd->it_need && !(ithd->it_flags & IT_DEAD)) {
TD_SET_IWAIT(td);
ie->ie_count = 0;
- mi_switch(SW_VOL, NULL);
+ mi_switch(SW_VOL | SWT_IWAIT, NULL);
}
thread_unlock(td);
}
OpenPOWER on IntegriCloud