]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: use vm_unmapped_area() on sh architecture
authorMichel Lespinasse <walken@google.com>
Fri, 9 Nov 2012 03:04:26 +0000 (14:04 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 9 Nov 2012 03:08:46 +0000 (14:08 +1100)
commit534c18210d2a59428dfd6490d2534b3d661995f3
treebaee84c7987c950bb618536b98f9f691de5fb3cb
parent3ce27644230bc35ab9c50bba89ea6a56ed065c92
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