]> git.baikalelectronics.ru Git - kernel.git/commit
metag: hugetlb: convert to vm_unmapped_area()
authorJames Hogan <james.hogan@imgtec.com>
Mon, 11 Feb 2013 17:28:10 +0000 (17:28 +0000)
committerJames Hogan <james.hogan@imgtec.com>
Sat, 2 Mar 2013 20:11:13 +0000 (20:11 +0000)
commite6ce366f0bc57329e4571e1e3f3e7ba42843489b
tree18097d57e812bdcd86634d86b6089fc07605946a
parenta647bcefd1bc6b00f2f222c1b8551a39b86dbea2
metag: hugetlb: convert to vm_unmapped_area()

Convert hugetlb_get_unmapped_area_new_pmd() to use vm_unmapped_area()
rather than searching the virtual address space itself. This fixes the
following errors in linux-next due to the specified members being
removed after other architectures have already been converted:

arch/metag/mm/hugetlbpage.c: In function 'hugetlb_get_unmapped_area_new_pmd':
arch/metag/mm/hugetlbpage.c:199: error: 'struct mm_struct' has no member named 'cached_hole_size'
arch/metag/mm/hugetlbpage.c:200: error: 'struct mm_struct' has no member named 'free_area_cache'
arch/metag/mm/hugetlbpage.c:215: error: 'struct mm_struct' has no member named 'cached_hole_size'

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Acked-by: Michel Lespinasse <walken@google.com>
arch/metag/mm/hugetlbpage.c