summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2021-06-16 09:02:22 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2021-06-16 09:02:22 +0000
commitcebbe14112cd8835ae378eb86899a7abb8235dfc (patch)
tree1e9f4067cee2406d2d4f9216bc444d01a80956bf /sys/arch/i386
parent6b211b338419b1b5599550ed82b02a603014349e (diff)
Change the prefix of UVM object functions to match NetBSD's.
For example uvm_objinit() becomes uvm_obj_init(). Reduce differences between the trees and help porting new functions needed for UVM object locking. No functionnal change.
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/i386/pmap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/i386/i386/pmap.c b/sys/arch/i386/i386/pmap.c
index efc695819b0..a11178c8b63 100644
--- a/sys/arch/i386/i386/pmap.c
+++ b/sys/arch/i386/i386/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.213 2021/05/16 15:10:19 deraadt Exp $ */
+/* $OpenBSD: pmap.c,v 1.214 2021/06/16 09:02:21 mpi Exp $ */
/* $NetBSD: pmap.c,v 1.91 2000/06/02 17:46:37 thorpej Exp $ */
/*
@@ -963,7 +963,7 @@ pmap_bootstrap(vaddr_t kva_start)
kpm = pmap_kernel();
mtx_init(&kpm->pm_mtx, -1); /* must not be used */
mtx_init(&kpm->pm_apte_mtx, IPL_VM);
- uvm_objinit(&kpm->pm_obj, NULL, 1);
+ uvm_obj_init(&kpm->pm_obj, NULL, 1);
bzero(&kpm->pm_list, sizeof(kpm->pm_list)); /* pm_list not used */
kpm->pm_pdir = (vaddr_t)(proc0.p_addr->u_pcb.pcb_cr3 + KERNBASE);
kpm->pm_pdirpa = proc0.p_addr->u_pcb.pcb_cr3;
@@ -1348,7 +1348,7 @@ pmap_create(void)
mtx_init(&pmap->pm_apte_mtx, IPL_VM);
/* init uvm_object */
- uvm_objinit(&pmap->pm_obj, NULL, 1);
+ uvm_obj_init(&pmap->pm_obj, NULL, 1);
pmap->pm_stats.wired_count = 0;
pmap->pm_stats.resident_count = 1; /* count the PDP allocd below */
pmap->pm_ptphint = NULL;