]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: remove flags argument to mmap_region
authorMichel Lespinasse <walken@google.com>
Thu, 7 Feb 2013 01:26:19 +0000 (12:26 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 18 Feb 2013 05:46:21 +0000 (16:46 +1100)
commit308fdc7ff5fa2fcaaad5b5c2741b9f31c58e8819
tree175026f7e9549c34091839d23edd8d77d4148ed4
parent91f7b97971aec7758e04e6d5ad343933d7971481
mm: remove flags argument to mmap_region

After the MAP_POPULATE handling has been moved to mmap_region() call sites,
the only remaining use of the flags argument is to pass the MAP_NORESERVE
flag. This can be just as easily handled by do_mmap_pgoff(), so do that
and remove the mmap_region() flags parameter.

Signed-off-by: Michel Lespinasse <walken@google.com>
Acked-by: Rik van Riel <riel@redhat.com>
Tested-by: Andy Lutomirski <luto@amacapital.net>
Cc: Greg Ungerer <gregungerer@westnet.com.au>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/tile/mm/elf.c
include/linux/mm.h
mm/fremap.c
mm/mmap.c