Initialize the emul sx-lock.
Sponsored by: Google SoC 2006 Submitted by: rdivacky
This commit is contained in:
parent
676ad2c9ef
commit
c632e9d3cc
@ -1079,6 +1079,7 @@ linux_elf_modevent(module_t mod, int type, void *data)
|
||||
linux_ioctl_register_handler(*lihp);
|
||||
SET_FOREACH(ldhp, linux_device_handler_set)
|
||||
linux_device_register_handler(*ldhp);
|
||||
sx_init(&emul_lock, "emuldata lock");
|
||||
sx_init(&emul_shared_lock, "emuldata->shared lock");
|
||||
LIST_INIT(&futex_list);
|
||||
mtx_init(&futex_mtx, "futex protection lock", NULL, MTX_DEF);
|
||||
|
Loading…
Reference in New Issue
Block a user