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

Aaron LI aly at crater.dragonflybsd.org
Sat Jun 19 03:51:39 PDT 2021


commit 8078b1601bb0cf46d047d8c55c8b4801f7f706db
Author: Aaron LI <aly at aaronly.me>
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(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8078b1601bb0cf46d047d8c55c8b4801f7f706db


-- 
DragonFly BSD source repository



More information about the Commits mailing list