pmap: Eliminate a simple macro 'pte_load_clear()'
authorAaron LI <aly@aaronly.me>
Thu, 3 Jun 2021 01:05:22 +0000 (09:05 +0800)
committerAaron LI <aly@aaronly.me>
Sat, 19 Jun 2021 10:35:39 +0000 (18:35 +0800)
commit8078b1601bb0cf46d047d8c55c8b4801f7f706db
tree699f4842a36c1576aa2c6bc0c84a950916fd2a2c
parent7e0dbbc62c37bd70c18ac1253a530ec79fa0222d
pmap: Eliminate a simple macro 'pte_load_clear()'

First, this macro is not used in vkernel64's pmap code.  Secondly, this
macro is sudden and looks unrelated to other things in the pmap.h
header.  So just substitute it in the pmap code and get rid of it.
sys/platform/pc64/include/pmap.h
sys/platform/pc64/x86_64/pmap.c
sys/platform/vkernel64/include/pmap.h