• Mike Rapoport's avatar
    xtensa: mm: fix PMD folding implementation · f0d1eab8
    Mike Rapoport authored
    There was a definition of pmd_offset() in arch/xtensa/include/asm/pgtable.h
    that shadowed the generic implementation defined in
    include/asm-generic/pgtable-nopmd.h.
    
    As the result, xtensa had shortcuts in page table traversal in several
    places instead of doing level unfolding.
    
    Remove local override for pmd_offset() and add page table unfolding where
    necessary.
    Signed-off-by: default avatarMike Rapoport <rppt@linux.ibm.com>
    Message-Id: <1572964400-16542-2-git-send-email-rppt@kernel.org>
    Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
    f0d1eab8
pgtable.h 14.8 KB