]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: use vm_unmapped_area() in hugetlbfs on sparc64 architecture
authorMichel Lespinasse <walken@google.com>
Thu, 29 Nov 2012 03:17:22 +0000 (14:17 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 5 Dec 2012 05:23:08 +0000 (16:23 +1100)
commit17f22e86928a383327b3498ff7948a9d5de56a9b
tree58625fa33caf2abc9ab6fe7a1e17a8516fa6a87a
parentbbde49f5d7a3ee2800da51a96487e5b5d94d147e
mm: use vm_unmapped_area() in hugetlbfs on sparc64 architecture

Update the sparc64 hugetlb_get_unmapped_area function to make use of
vm_unmapped_area() instead of implementing a brute force search.

Signed-off-by: Michel Lespinasse <walken@google.com>
Reviewed-by: Rik van Riel <riel@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Chris Metcalf <cmetcalf@tilera.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/sparc/mm/hugetlbpage.c