HomeFreeBSD

Fix a set but not used warning in the arm64 pmap

Description

Fix a set but not used warning in the arm64 pmap

In pmap_ts_referenced we read the virtual address from pv->pv_va,
but then continue to use the pv struct to get the same value later
in the function.

Use the virtual address value we initially read rather than loading
from the pv struct each time.

(cherry picked from commit 1c643b721bed48ba795b42cdc5e8b5818f30ed14)

Details

Provenance
andrewAuthored on Dec 7 2021, 2:32 PM
Parents
rG886190fa267e: Handle table attributes in the arm64 kernel map
Branches
Unknown
Tags
Unknown