commit | d9ed9faac283a3be73f0e11a2ef49ee55aece4db | [log] [tgz] |
---|---|---|
author | Chris Metcalf <cmetcalf@tilera.com> | Sun Apr 01 14:01:34 2012 -0400 |
committer | Chris Metcalf <cmetcalf@tilera.com> | Fri May 25 12:48:26 2012 -0400 |
tree | 49ec312cc1a066d23d602838d58a1723ec9331e8 | |
parent | fc0c49f5db640b9dfc7bb801892b5cbb7508a76a [diff] |
mm: add new arch_make_huge_pte() method for tile support The tile support for multiple-size huge pages requires tagging the hugetlb PTE with a "super" bit for PTEs that are multiples of the basic size of a pagetable span. To set that bit properly we need to tweak the PTe in make_huge_pte() based on the vma. This change provides the API for a subsequent tile-specific change to use. Reviewed-by: Hillf Danton <dhillf@gmail.com> Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>