diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-08-17 21:45:31 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-08-20 18:59:44 +0200 |
commit | e5e574f85db896e3352de43e3e2e321d62e2fdef (patch) | |
tree | 8c4c0a9de14480fcc57f30655e807dfc89dd1540 /ipc/ipc_port.c | |
parent | 156c7dd3bf3e3d1be41a992b61408cf1d82e95f1 (diff) |
ipc: use a general lock for the ipc_port_multiple lock
* ipc/ipc_port.c (ipc_port_multiple_lock_data): Use a general lock.
* ipc/ipc_port.h (ipc_port_multiple_lock_data): Likewise.
(ipc_port_multiple_{lock_init,lock,unlock}): Adapt accordingly.
Diffstat (limited to 'ipc/ipc_port.c')
-rw-r--r-- | ipc/ipc_port.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/ipc_port.c b/ipc/ipc_port.c index 4e4ad59..bc9ea58 100644 --- a/ipc/ipc_port.c +++ b/ipc/ipc_port.c @@ -57,7 +57,7 @@ #endif /* MACH_KDB */ -decl_simple_lock_data(, ipc_port_multiple_lock_data) +struct lock ipc_port_multiple_lock_data; decl_simple_lock_data(, ipc_port_timestamp_lock_data) ipc_port_timestamp_t ipc_port_timestamp_data; |