riscv: Handle invalid L2 entries in pmap_extract()
authorMark Johnston <markj@FreeBSD.org>
Thu, 29 Sep 2022 17:07:26 +0000 (13:07 -0400)
committerMark Johnston <markj@FreeBSD.org>
Thu, 29 Sep 2022 17:11:26 +0000 (13:11 -0400)
commitec21f85ab5f03a803884cc7bafa88621c613f4ca
tree39c942fac431259c857a25a0d9fa0aedb43da008
parent76aebeab7c04af10e28625b48d09fefd49149342
riscv: Handle invalid L2 entries in pmap_extract()

While here, eliminate a single-use local variable.

PR: 266103
Reviewed by: mhorne
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D36395
sys/riscv/riscv/pmap.c