git: pmap: Eliminate a simple macro 'pte_load_clear()'

Aaron LI aly at
Sat Jun 19 03:51:39 PDT 2021

commit 8078b1601bb0cf46d047d8c55c8b4801f7f706db
Author: Aaron LI <aly at>
Date:   Thu Jun 3 09:05:22 2021 +0800

    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.

Summary of changes:
 sys/platform/pc64/include/pmap.h      |  2 --
 sys/platform/pc64/x86_64/pmap.c       | 10 +++++-----
 sys/platform/vkernel64/include/pmap.h |  2 --
 3 files changed, 5 insertions(+), 9 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list