HomeFreeBSD

riscv: remove a redundant check on PGA_WRITEABLE

Description

riscv: remove a redundant check on PGA_WRITEABLE

This is achieved by the preceding call to pmap_page_is_write_mapped().
It appears the second check and comment were left mistakenly when the
intent was to remove them.

Reviewed by: mhorne
MFC after: 1 week
Fixes: 638f867814a6 ("(6/6) Convert pmap to expect busy in write... ")
Pull Request: https://github.com/freebsd/freebsd-src/pull/1304

Details

Provenance
wy-chung <wy-chung@outlook.com>Authored on Jun 26 2024, 7:46 AM
mhorneCommitted on Jun 28 2024, 2:10 PM
Parents
rGd3bb35d4e51b: jail: allow adjustment of host time
Branches
Unknown
Tags
Unknown