]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: use vm_unmapped_area() on sh architecture
authorMichel Lespinasse <walken@google.com>
Thu, 29 Nov 2012 03:17:19 +0000 (14:17 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 5 Dec 2012 05:23:06 +0000 (16:23 +1100)
commita894569cd2ed46f3f85b48b2f57e1928909fab61
tree88600f7e0319b8bb830e09002f956869c0a7208e
parent509e3c082599389cc0d57d1cf8472cda1a93258a
mm: use vm_unmapped_area() on sh architecture

Update the sh arch_get_unmapped_area[_topdown] functions 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/sh/mm/mmap.c