mm: use vm_unmapped_area() on mips architecture
authorMichel Lespinasse <[email protected]>
Wed, 12 Dec 2012 00:02:06 +0000 (16:02 -0800)
committerLinus Torvalds <[email protected]>
Wed, 12 Dec 2012 01:22:26 +0000 (17:22 -0800)
commitb6661861777940b05934169d8a3f9207cd718996
tree0205e6835a8032a2fef80155d6b4aaea16904dd4
parentcdc17344959e30ba8d0b98448832514024282e14
mm: use vm_unmapped_area() on mips architecture

Update the mips arch_get_unmapped_area[_topdown] functions to make use of
vm_unmapped_area() instead of implementing a brute force search.

[[email protected]: remove now-unused COLOUR_ALIGN_DOWN()]
Signed-off-by: Michel Lespinasse <[email protected]>
Reviewed-by: Rik van Riel <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: Russell King <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: Paul Mundt <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Chris Metcalf <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/mips/mm/mmap.c