]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
[AVR32] Fix bogus pte_page() definition
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Wed, 15 Aug 2007 14:12:18 +0000 (16:12 +0200)
committerHaavard Skinnemoen <hskinnemoen@atmel.com>
Wed, 15 Aug 2007 14:36:56 +0000 (16:36 +0200)
commit6f834197a79d34d65ca44e9c77f2571edbcfb64b
tree3cd3bf8534e1f041cd94f16d205925b74186bea2
parente7f3bac95e0bdfd520e065c4a29aad46190fcc99
[AVR32] Fix bogus pte_page() definition

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: Haavard Skinnemoen <hskinnemoen@atmel.com>
include/asm-avr32/pgtable.h