aboutsummaryrefslogtreecommitdiff
path: root/i386/intel
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-02-08 20:17:38 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-02-08 20:18:16 +0100
commit92257f56a32f16795402cdbeb76a8b4f56ea2369 (patch)
treefa520391b49f4bac7ad77ee065d68e8dcab2d8be /i386/intel
parenta9c54f2c7f93127517b725952e67697bd82a7eeb (diff)
downloadgnumach-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 'i386/intel')
-rw-r--r--i386/intel/pmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/i386/intel/pmap.c b/i386/intel/pmap.c
index 91f797bf..ccbb03fc 100644
--- a/i386/intel/pmap.c
+++ b/i386/intel/pmap.c
@@ -123,7 +123,7 @@ pv_entry_t pv_head_table; /* array of entries, one per page */
* The list is refilled from the pv_list_cache if it becomes empty.
*/
pv_entry_t pv_free_list; /* free list at SPLVM */
-decl_simple_lock_data(, pv_free_list_lock)
+def_simple_lock_data(static, pv_free_list_lock)
#define PV_ALLOC(pv_e) { \
simple_lock(&pv_free_list_lock); \
@@ -427,7 +427,7 @@ pt_entry_t *kernel_page_dir;
* physical-to-physical transfers.
*/
static pmap_mapwindow_t mapwindows[PMAP_NMAPWINDOWS];
-decl_simple_lock_data(static, pmapwindows_lock)
+def_simple_lock_data(static, pmapwindows_lock)
static inline pt_entry_t *
pmap_pde(const pmap_t pmap, vm_offset_t addr)