HomeFreeBSD

arm64 pmap: Eliminate some duplication of code

Description

arm64 pmap: Eliminate some duplication of code

pmap_unmapbios() can simply call pmap_kremove_device() rather than
duplicating its code.

While I'm here, add a comment to pmap_kremove_device() explaining its
proper use, and fix a whitespace issue.

MFC after: 1 week

Details

Provenance
alcAuthored on Jul 22 2023, 5:41 PM
Parents
rG92fd2f39e5b1: e1000: add missing parens in csum setup
Branches
Unknown
Tags
Unknown