summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorGeorge Koehler <gkoehler@cvs.openbsd.org>2024-04-03 19:31:00 +0000
committerGeorge Koehler <gkoehler@cvs.openbsd.org>2024-04-03 19:31:00 +0000
commit2418f5dbbba5b18957d9c8fa47e9cbdf63797f55 (patch)
tree0a37960dc25e98f67160d6e071c6509b6a013047 /share
parent9fd1f73d56fa2dd2d71dcf9e12bdd79071d2351e (diff)
Initialize earlier macppc's and powerpc64's pmap_hash_lock
At boot, the powerpc64 kernel was calling pmap_bootstrap -> pmap_kenter_pa -> mtx_enter(&pmap_hash_lock) before it did pmap_init -> mtx_init(&pmap_hash_lock, IPL_HIGH) Change from mtx_init to MUTEX_INITIALIZER. This allows an option WITNESS kernel to boot without warning of an uninitialized mutex. Also change macppc's pmap_hash_lock from __ppc_lock_init to PPC_LOCK_INITIALIZER, though WITNESS doesn't see this lock. ok mpi@
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions