diff options
author | James Hogan <james.hogan@imgtec.com> | 2013-02-11 17:28:10 +0000 |
---|---|---|
committer | James Hogan <james.hogan@imgtec.com> | 2013-03-02 20:11:13 +0000 |
commit | f75c28d896f4dd0064e60bba1e82a4c98908d239 (patch) | |
tree | 18097d57e812bdcd86634d86b6089fc07605946a /scripts | |
parent | c838e72a35e49ea51c39c2c634ece028fa49c565 (diff) |
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions