summaryrefslogtreecommitdiffstats
path: root/sys/dev/hyperv
diff options
context:
space:
mode:
authorgrehan <grehan@FreeBSD.org>2013-08-01 22:09:57 +0000
committergrehan <grehan@FreeBSD.org>2013-08-01 22:09:57 +0000
commitfd121a9c7b0c558bd6523654b46615e4cf221074 (patch)
tree15a0d1703ee9cc7d7009aa072f4f6d38a7cd6026 /sys/dev/hyperv
parente5517eb7cf3a46058f85f4fa2254ff97215cf884 (diff)
parented44436fe152c80c0b7431b9e1e730f1aca47199 (diff)
downloadFreeBSD-src-fd121a9c7b0c558bd6523654b46615e4cf221074.zip
FreeBSD-src-fd121a9c7b0c558bd6523654b46615e4cf221074.tar.gz
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.
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 47f48dd..7470006 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 9ad4370..43e4213 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);
OpenPOWER on IntegriCloud