summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_poll.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2004-07-03 02:38:03 +0000
committerjhb <jhb@FreeBSD.org>2004-07-03 02:38:03 +0000
commitff0e20b1b644e10145cd00fcc62458dd998fab42 (patch)
treef14292ba7075cc2674178b333b62b9a48e46ecbd /sys/kern/kern_poll.c
parent1239eae8859457efa630908fae287d36d9aae9b8 (diff)
downloadFreeBSD-src-ff0e20b1b644e10145cd00fcc62458dd998fab42.zip
FreeBSD-src-ff0e20b1b644e10145cd00fcc62458dd998fab42.tar.gz
Add a NULL param to an mi_switch() that I missed.
Reported by: Jung-uk Kim jkim at niksun dot com
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 2905c2a..ae1bb21 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;
OpenPOWER on IntegriCloud