]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: remove flags argument to mmap_region
authorMichel Lespinasse <walken@google.com>
Wed, 20 Feb 2013 02:14:08 +0000 (13:14 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:52:25 +0000 (16:52 +1100)
commit0dc12a17ffdc834547820f51605abcc0f104f422
tree044cb0473499e7ba8303dbe8bf84759a72ea025b
parentac608a77f88021726a25379439136a744b962ca3
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