nommu: don't need get_unmapped_area() for NOMMU
authorDavid Howells <dhowells@redhat.com>
Sat, 16 Jan 2010 01:01:35 +0000 (17:01 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 16 Jan 2010 20:15:40 +0000 (12:15 -0800)
commitefc1a3b16930c41d64ffefde16b87d82f603a8a0
tree1f651e22f534f1b3eacd2fab97e9351aa75abd0b
parent779c10232ceb11c1b259232c4845cfb2850287b7
nommu: don't need get_unmapped_area() for NOMMU

get_unmapped_area() is unnecessary for NOMMU as no-one calls it.

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Al Viro <viro@zeniv.linux.org.uk>
Cc: Greg Ungerer <gerg@snapgear.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mm_types.h
include/linux/sched.h
mm/nommu.c
mm/util.c