mm: use vm_unmapped_area() on powerpc architecture
authorMichel Lespinasse <walken@google.com>
Mon, 29 Apr 2013 18:53:53 +0000 (11:53 -0700)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 30 Apr 2013 01:05:17 +0000 (11:05 +1000)
commitfba2369e6ceb7ae688e91063821bae5140e26393
tree48644a2c78db6e8ef5c260d413dc953cd45b45e5
parent34d07177b802e963f3b14bf3dd8caf294f41fea7
mm: use vm_unmapped_area() on powerpc architecture

Update the powerpc slice_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>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Tested-by: "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/mm/slice.c