From: James Hogan Date: Mon, 11 Feb 2013 17:28:10 +0000 (+0000) Subject: metag: hugetlb: convert to vm_unmapped_area() X-Git-Tag: v3.9-rc1~7^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f75c28d896f4dd0064e60bba1e82a4c98908d239;p=pandora-kernel.git 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 Acked-by: Michel Lespinasse --- Reading git-diff-tree failed