git: 71901e4915a9 - main - amd64 pmap: restore the name for pml4 local in pmap_large_map_pdpe()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 20 Jul 2025 00:58:51 UTC
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=71901e4915a948f0da815761b8ca4e5ee27bf045
commit 71901e4915a948f0da815761b8ca4e5ee27bf045
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2025-07-20 00:52:10 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2025-07-20 00:58:32 +0000
amd64 pmap: restore the name for pml4 local in pmap_large_map_pdpe()
This was suggested by alc but not committed.
Fixes: 31afa16f92df9ed2cee96b8ee56449ea60a9ccf1
Sponsored by: The FreeBSD Foundation
---
sys/amd64/amd64/pmap.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
index 51e793c7f8b6..b2bfe633adcc 100644
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -10777,15 +10777,15 @@ pmap_large_map_getptp(void)
static pdp_entry_t *
pmap_large_map_pdpe(vm_offset_t va)
{
- pml4_entry_t *pm4;
+ pml4_entry_t *pml4;
vm_pindex_t pml4_idx;
vm_paddr_t mphys;
KASSERT(va >= kva_layout.lm_low && va < kva_layout.lm_low +
(vm_offset_t)NBPML4 * lm_ents, ("va %#lx not in large map", va));
if (la57) {
- pm4 = pmap_pml4e(kernel_pmap, va);
- mphys = *pm4 & PG_FRAME;
+ pml4 = pmap_pml4e(kernel_pmap, va);
+ mphys = *pml4 & PG_FRAME;
} else {
pml4_idx = pmap_pml4e_index(va);