aboutsummaryrefslogtreecommitdiff
path: root/emulators/kqemu-kmod-devel/files/patch-kqemu-freebsd.c
blob: a2b1cb61c3803d583a2084853a47218ea73424fe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
Index: kqemu-freebsd.c
@@ -321,6 +321,9 @@
 #if __FreeBSD_version >= 500000
     dev->si_drv1 = NULL;
     TAILQ_REMOVE(&kqemuhead, ks, kqemu_ent);
+#if __FreeBSD_version >= 700024
+    dev_relthread(dev); 
+#endif
     destroy_dev(dev);
 #endif
     free(ks, M_KQEMU);