Reuse pmap_pte_insert() in pmap_clear_modify()
authorjca <jca@openbsd.org>
Mon, 18 Sep 2023 17:01:41 +0000 (17:01 +0000)
committerjca <jca@openbsd.org>
Mon, 18 Sep 2023 17:01:41 +0000 (17:01 +0000)
commitf8df332b77ba81b8ee4d0d56dd2fc5ccfb101c34
treefca4302f9a6a6b558790fc6f1d1e79f9609fa191
parent769b1264c7968e899b450622d0c0f7493c5263ea
Reuse pmap_pte_insert() in pmap_clear_modify()

Stricter code which further reduces the difference between the pmap of
arm64 and riscv64 and also the number of functions where member pted_pte
is manipulated.

ok drahn@ kettenis@
sys/arch/riscv64/riscv64/pmap.c