summaryrefslogtreecommitdiff
path: root/sys/kern/kern_poll.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2004-07-03 02:38:03 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2004-07-03 02:38:03 +0000
commitb5cbda5055ec406ea2c831b6eac2c4a917427fa3 (patch)
treef14292ba7075cc2674178b333b62b9a48e46ecbd /sys/kern/kern_poll.c
parentffe834a3c30dc94e096d5ca80e222e60cfa71e22 (diff)
Notes
Diffstat (limited to 'sys/kern/kern_poll.c')
-rw-r--r--sys/kern/kern_poll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_poll.c b/sys/kern/kern_poll.c
index 2905c2ad89b8..ae1bb21fcd47 100644
--- a/sys/kern/kern_poll.c
+++ b/sys/kern/kern_poll.c
@@ -506,7 +506,7 @@ poll_idle(void)
mtx_unlock(&Giant);
mtx_assert(&Giant, MA_NOTOWNED);
mtx_lock_spin(&sched_lock);
- mi_switch(SW_VOL);
+ mi_switch(SW_VOL, NULL);
mtx_unlock_spin(&sched_lock);
} else {
idlepoll_sleeping = 1;