]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mm: remove flags argument to mmap_region
authorMichel Lespinasse <walken@google.com>
Sat, 23 Feb 2013 00:32:43 +0000 (16:32 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 24 Feb 2013 01:50:11 +0000 (17:50 -0800)
commitc22c0d6344c362b1dde5d8e160d3d07536aca120
tree00350da7f08f8a1b8495294bccc05d768fb1682e
parent81909b842107ef8ca499f46ecb9b7afd87c20c52
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.

[akpm@linux-foundation.org: remove double parens]
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/tile/mm/elf.c
include/linux/mm.h
mm/fremap.c
mm/mmap.c