]> 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>
Mon, 12 Nov 2012 04:17:09 +0000 (15:17 +1100)
commitf5858c776ac46bda01cc4e27d1e316cbb20f9f54
tree83ce4213ccc7cee95dc2bf78c4243289d9eb031f
parent6fed4c4f206ef1db2000d948b5d88934ca0db553
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