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 /vm/vm_resident.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 'vm/vm_resident.c')
-rw-r--r-- | vm/vm_resident.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vm/vm_resident.c b/vm/vm_resident.c index aefdb1f9..e0a03bf5 100644 --- a/vm/vm_resident.c +++ b/vm/vm_resident.c @@ -98,7 +98,7 @@ unsigned long vm_page_bucket_count = 0; /* How big is array? */ unsigned long vm_page_hash_mask; /* Mask for hash function */ static struct list vm_page_queue_fictitious; -decl_simple_lock_data(,vm_page_queue_free_lock) +def_simple_lock_data(,vm_page_queue_free_lock) int vm_page_fictitious_count; int vm_object_external_count; int vm_object_external_pages; @@ -129,7 +129,7 @@ phys_addr_t vm_page_fictitious_addr = (phys_addr_t) -1; * defined here, but are shared by the pageout * module. */ -decl_simple_lock_data(,vm_page_queue_lock) +def_simple_lock_data(,vm_page_queue_lock) int vm_page_active_count; int vm_page_inactive_count; int vm_page_wire_count; |