Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147796842
D6416.id16514.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
785 B
Referenced Files
None
Subscribers
None
D6416.id16514.diff
View Options
Index: head/sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c
===================================================================
--- head/sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c
+++ head/sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c
@@ -545,7 +545,7 @@
}
static void
-vmbus_init(void)
+vmbus_sysinit(void *arg __unused)
{
if (vm_guest != VM_GUEST_HV || vmbus_get_softc() == NULL)
return;
@@ -624,6 +624,10 @@
MODULE_VERSION(vmbus, 1);
#ifndef EARLY_AP_STARTUP
-/* We want to be started after SMP is initialized */
-SYSINIT(vmb_init, SI_SUB_SMP + 1, SI_ORDER_FIRST, vmbus_init, NULL);
+/*
+ * NOTE:
+ * We have to start as the last step of SI_SUB_SMP, i.e. after SMP is
+ * initialized.
+ */
+SYSINIT(vmbus_initialize, SI_SUB_SMP, SI_ORDER_ANY, vmbus_sysinit, NULL);
#endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 14, 5:50 PM (19 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29678744
Default Alt Text
D6416.id16514.diff (785 B)
Attached To
Mode
D6416: hyperv/vmbus: Fix SYSINIT function prototype and usage.
Attached
Detach File
Event Timeline
Log In to Comment