]> git.karo-electronics.de Git - karo-tx-linux.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>
Fri, 15 Feb 2013 09:28:29 +0000 (09:28 +0000)
commit031fbed8537bef8b9bdcdcd80ce279145501b413
treecb7809ec217791556563eb64d0e0aa05d1bc435b
parente4a26287bdad5856624ef5b0ba74403412db56de
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