diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-07-25 01:47:54 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-08-20 18:59:44 +0200 |
commit | b24251ef5b12dcf56201b7468dfcaabd964c1a66 (patch) | |
tree | 5335bb480f793b50fa1a7baeecff56ab4a51ef61 /ddb | |
parent | c76e086e0e08e71aae4b85922aa3bc5c62d4f6ee (diff) |
device: use general lock for `mach_device'
* device/dev_hdr.h (struct mach_device): Turn lock into a general lock.
(device_lock_init): New macro.
(device_lock, device_unlock): Adapt accordingly.
* device/dev_lookup.c (device_lookup): Use `device_lock_init'.
* device/ds_routines.c (device_open): Adapt accordingly.
Diffstat (limited to 'ddb')
0 files changed, 0 insertions, 0 deletions