arm64: Correct a pmap unlock in pmap_stage2_fault
This is used by bhyve so was not an issue as it is still in development. Sponsored by: Arm Ltd
This commit is contained in:
parent
460f0aaf7b
commit
8cca8e248f
@ -7446,7 +7446,7 @@ pmap_stage2_fault(pmap_t pmap, uint64_t esr, uint64_t far)
|
||||
PMAP_LOCK(pmap);
|
||||
pdep = pmap_pde(pmap, far, &lvl);
|
||||
if (pdep == NULL || lvl != (dfsc - ISS_DATA_DFSC_TF_L1)) {
|
||||
PMAP_LOCK(pmap);
|
||||
PMAP_UNLOCK(pmap);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user