]> git.karo-electronics.de Git - karo-tx-linux.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>
Tue, 13 Aug 2013 20:27:52 +0000 (16:27 -0400)
commit92083cca8aece5ae7b8020c33b085b7804cd2042
tree31494b8ac61dc90883900b8bd800b088f7050381
parentf2c9eadf19a3868c715182ad2c12481435f5b4b6
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