X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/1c79356b52d46aa6b508fb032f5ae709b1f2897b..b4c24cb9d3df001f2892dc4ed451bc769ff28a9f:/osfmk/kern/ipc_host.c diff --git a/osfmk/kern/ipc_host.c b/osfmk/kern/ipc_host.c index 6cb65051b..4c3aa3b45 100644 --- a/osfmk/kern/ipc_host.c +++ b/osfmk/kern/ipc_host.c @@ -57,9 +57,11 @@ */ #include #include +#include #include #include #include +#include #include #include #include @@ -94,6 +96,8 @@ void ipc_host_init(void) ipc_port_t port; int i; + mutex_init(&realhost.lock, ETAP_MISC_MASTER); + /* * Allocate and set up the two host ports. */