• R
    ARM: pgtable: switch order of Linux vs hardware page tables · d30e45ee
    Russell King 提交于
    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: NRussell King <rmk+kernel@arm.linux.org.uk>
    d30e45ee
pgtable.h 16.5 KB