aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/hyperv
diff options
context:
space:
mode:
authorPeter Grehan <grehan@FreeBSD.org>2013-08-01 22:09:57 +0000
committerPeter Grehan <grehan@FreeBSD.org>2013-08-01 22:09:57 +0000
commit672ed870a77238165e29d91823c7b564ec95ffbf (patch)
tree15a0d1703ee9cc7d7009aa072f4f6d38a7cd6026 /sys/dev/hyperv
parent15b996d74243d0060fee414670a6a758490bfca2 (diff)
parent04ae0d7cc59570c90e76d05fb1fa8f45e7c80895 (diff)
downloadsrc-672ed870a77238165e29d91823c7b564ec95ffbf.tar.gz
src-672ed870a77238165e29d91823c7b564ec95ffbf.zip
IFC @ r253862
- change the SI_SUB_RUN_SCHEDULER sysinits in hv_utilc and hv_netvsc_drv_freebsd.c to SI_SUB_KTHREAD_IDLE, since the former is no longer in FreeBSD. The use of these SYSINITs can probably be removed.
Notes
Notes: svn path=/projects/hyperv/; revision=253869
Diffstat (limited to 'sys/dev/hyperv')
-rw-r--r--sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c2
-rw-r--r--sys/dev/hyperv/utilities/hv_util.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c b/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c
index 47f48dd6abde..74700061e545 100644
--- a/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c
+++ b/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c
@@ -943,6 +943,6 @@ static devclass_t netvsc_devclass;
DRIVER_MODULE(hn, vmbus, netvsc_driver, netvsc_devclass, 0, 0);
MODULE_VERSION(hn, 1);
MODULE_DEPEND(hn, vmbus, 1, 1, 1);
-SYSINIT(netvsc_initx, SI_SUB_RUN_SCHEDULER, SI_ORDER_MIDDLE + 1, netvsc_init,
+SYSINIT(netvsc_initx, SI_SUB_KTHREAD_IDLE, SI_ORDER_MIDDLE + 1, netvsc_init,
NULL);
diff --git a/sys/dev/hyperv/utilities/hv_util.c b/sys/dev/hyperv/utilities/hv_util.c
index 9ad4370285ff..43e421373ca5 100644
--- a/sys/dev/hyperv/utilities/hv_util.c
+++ b/sys/dev/hyperv/utilities/hv_util.c
@@ -488,5 +488,5 @@ DRIVER_MODULE(hv_utils, vmbus, util_driver, util_devclass, hv_util_modevent, 0);
MODULE_VERSION(hv_utils, 1);
MODULE_DEPEND(hv_utils, vmbus, 1, 1, 1);
-SYSINIT(hv_util_initx, SI_SUB_RUN_SCHEDULER, SI_ORDER_MIDDLE + 1,
+SYSINIT(hv_util_initx, SI_SUB_KTHREAD_IDLE, SI_ORDER_MIDDLE + 1,
hv_util_init, NULL);