]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/kern/ipc_kobject.c
xnu-517.9.4.tar.gz
[apple/xnu.git] / osfmk / kern / ipc_kobject.c
index 95fbf38856bf276e23cb54c696c0c92337dbd63c..2a0abc1f276bc7cdf2500b1d1157c2dde165fd53 100644 (file)
@@ -74,8 +74,9 @@
 #include <kern/etap_macros.h>
 #include <kern/ipc_mig.h>
 #include <kern/ipc_kobject.h>
-#include <kern/misc_protos.h>
+#include <kern/host_notify.h>
 #include <kern/mk_timer.h>
+#include <kern/misc_protos.h>
 #include <ipc/ipc_kmsg.h>
 #include <ipc/ipc_port.h>
 #include <kern/counters.h>
@@ -489,7 +490,11 @@ ipc_kobject_destroy(
                mach_destroy_memory_entry(port);
                break;
 
-       default:        /* XXX (bogon) */
+       case IKOT_HOST_NOTIFY:
+               host_notify_port_destroy(port);
+               break;
+
+       default:
                break;
        }
 }