• Haavard Skinnemoen's avatar
    [AVR32] Fix bogus pte_page() definition · 6f834197
    Haavard Skinnemoen authored
    The current definition of pte_page() masks out valid bits from the
    physical address, causing vmalloc_to_page() to misbehave. This may
    lead to everything from mmap() silently accessing the wrong data to
    "invalid pte" errors dumped by the kernel.
    
    Also remove the now-unused definition of PTE_PHYS_MASK.
    
    Thanks to Matteo Vit for discovering this bug.
    Signed-off-by: default avatarHaavard Skinnemoen <hskinnemoen@atmel.com>
    6f834197
pgtable.h 12 KB