diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-02-08 20:17:38 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-02-08 20:18:16 +0100 |
commit | 92257f56a32f16795402cdbeb76a8b4f56ea2369 (patch) | |
tree | fa520391b49f4bac7ad77ee065d68e8dcab2d8be /device/dev_lookup.c | |
parent | a9c54f2c7f93127517b725952e67697bd82a7eeb (diff) | |
download | gnumach-92257f56a32f16795402cdbeb76a8b4f56ea2369.tar.gz gnumach-92257f56a32f16795402cdbeb76a8b4f56ea2369.tar.bz2 gnumach-92257f56a32f16795402cdbeb76a8b4f56ea2369.zip |
slock: Fix initialization of statically-allocated slocks
(this is actually a no-op for i386)
Diffstat (limited to 'device/dev_lookup.c')
-rw-r--r-- | device/dev_lookup.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/device/dev_lookup.c b/device/dev_lookup.c index 994452cd..c9c39f88 100644 --- a/device/dev_lookup.c +++ b/device/dev_lookup.c @@ -60,8 +60,7 @@ queue_head_t dev_number_hash_table[NDEVHASH]; * Lock for device-number to device lookup. * Must be held before device-ref_count lock. */ -decl_simple_lock_data(, - dev_number_lock) +def_simple_lock_data(static, dev_number_lock) struct kmem_cache dev_hdr_cache; |