]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: use vm_unmapped_area() on sh architecture
authorMichel Lespinasse <walken@google.com>
Thu, 15 Nov 2012 02:37:46 +0000 (13:37 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 15 Nov 2012 06:25:45 +0000 (17:25 +1100)
commita057924c2c8b74c5c63e2af0e81b6111c13b610b
tree232d731dab8662ce8c4c4c4ebb81dbcb9d106e95
parent9350d5ab50a559470b5c5c122f165265755016c0
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