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-09-14 14:45:05 +0200 |
commit | 9e96c2b23bc8ec55ac4fa074414109183c3e1aa1 (patch) | |
tree | ceec1b2d06bffe73d74f3e97b92caf47cc94a9d1 /kern/bootstrap.c | |
parent | a5d69c13a0a034560b5eb78a16865fe854015571 (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 'kern/bootstrap.c')
0 files changed, 0 insertions, 0 deletions