artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f313ac3
)
Make sure pmap_kernel's mutex field gets correctly initialized rather than
author
miod
<miod@openbsd.org>
Fri, 23 Aug 2024 15:14:45 +0000
(15:14 +0000)
committer
miod
<miod@openbsd.org>
Fri, 23 Aug 2024 15:14:45 +0000
(15:14 +0000)
bss initialized.
sys/arch/alpha/alpha/pmap.c
patch
|
blob
|
history
diff --git
a/sys/arch/alpha/alpha/pmap.c
b/sys/arch/alpha/alpha/pmap.c
index
695ca6f
..
72a6914
100644
(file)
--- a/
sys/arch/alpha/alpha/pmap.c
+++ b/
sys/arch/alpha/alpha/pmap.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: pmap.c,v 1.9
1 2023/04/13 15:23:21
miod Exp $ */
+/* $OpenBSD: pmap.c,v 1.9
2 2024/08/23 15:14:45
miod Exp $ */
/* $NetBSD: pmap.c,v 1.154 2000/12/07 22:18:55 thorpej Exp $ */
/*-
@@
-863,6
+863,7
@@
pmap_bootstrap(paddr_t ptaddr, u_int maxasn, u_long ncpuids)
pmap_asn_info[i].pma_asngen;
}
TAILQ_INSERT_TAIL(&pmap_all_pmaps, pmap_kernel(), pm_list);
+ mtx_init(&pmap_kernel()->pm_mtx, IPL_VM);
#if defined(MULTIPROCESSOR)
/*