Skip to content
  • Russell King's avatar
    ARM: pgtable: switch order of Linux vs hardware page tables · d30e45ee
    Russell King authored
    
    
    This switches the ordering of the Linux vs hardware page tables in
    each page, thereby eliminating some of the arithmetic in the page
    table walks.  As we now place the Linux page table at the beginning
    of the page, we can deal with the offset in the pgt by simply masking
    it away, along with the other control bits.
    
    This also makes the arithmetic all be positive, rather than a mixture.
    
    Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
    d30e45ee