]> git.baikalelectronics.ru Git - kernel.git/commit
tile: handle super huge pages in virt_to_pte
authorChris Metcalf <cmetcalf@tilera.com>
Sat, 10 Aug 2013 17:15:46 +0000 (13:15 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Fri, 30 Aug 2013 15:57:02 +0000 (11:57 -0400)
commit71e52105424c221e6f998c7f20444eea939b1702
tree64b9283a5d94e2aa78046cc52f47757a8224d8ed
parent41c2e1cc0a77f85fa892f3edd8b8711cf7a45a89
tile: handle super huge pages in virt_to_pte

This tile-specific API had a minor bug, in that if a super huge (>4GB)
page mapped a particular address range, we wouldn't handle it correctly.
As part of fixing that bug, I also cleaned up some of the pud and pmd
accessors to make them more consistent.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/include/asm/pgtable_32.h
arch/tile/include/asm/pgtable_64.h
arch/tile/mm/pgtable.c