2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-24 05:04:00 +08:00
linux-next/arch/metag
James Hogan f75c28d896 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>
2013-03-02 20:11:13 +00:00
..
boot metag: Build infrastructure 2013-03-02 20:09:54 +00:00
configs metag: Add JTAG Debug Adapter (DA) support 2013-03-02 20:09:56 +00:00
include metag: protect more non-MMU memory regions 2013-03-02 20:09:58 +00:00
kernel metag: export clear_page and copy_page 2013-03-02 20:11:13 +00:00
lib metag: Build infrastructure 2013-03-02 20:09:54 +00:00
mm metag: hugetlb: convert to vm_unmapped_area() 2013-03-02 20:11:13 +00:00
tbx metag: Build infrastructure 2013-03-02 20:09:54 +00:00
Kconfig metag: Add JTAG Debug Adapter (DA) support 2013-03-02 20:09:56 +00:00
Kconfig.debug metag: Build infrastructure 2013-03-02 20:09:54 +00:00
Kconfig.soc metag: Build infrastructure 2013-03-02 20:09:54 +00:00
Makefile metag: Build infrastructure 2013-03-02 20:09:54 +00:00