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.

Details

Provenance
andrewAuthored on Dec 7 2021, 2:32 PM
Parents
rGa0f49d676873: hn: plug set-but-not-unused vars
Branches
Unknown
Tags
Unknown