linux/arch
Linus Torvalds 6be5ceb02e VM: add "vm_mmap()" helper function
This continues the theme started with vm_brk() and vm_munmap():
vm_mmap() does the same thing as do_mmap(), but additionally does the
required VM locking.

This uninlines (and rewrites it to be clearer) do_mmap(), which sadly
duplicates it in mm/mmap.c and mm/nommu.c.  But that way we don't have
to export our internal do_mmap_pgoff() function.

Some day we hopefully don't have to export do_mmap() either, if all
modular users can become the simpler vm_mmap() instead.  We're actually
very close to that already, with the notable exception of the (broken)
use in i810, and a couple of stragglers in binfmt_elf.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-04-20 17:29:13 -07:00
..
alpha alpha: fix build failures from system.h dismemberment 2012-04-13 13:15:16 -04:00
arm Merge branch 'fixes' of git://git.linaro.org/people/rmk/linux-arm 2012-04-15 17:35:19 -07:00
avr32
blackfin
c6x
cris
frv
h8300
hexagon
ia64 VM: add "vm_munmap()" helper function 2012-04-20 17:29:13 -07:00
m32r
m68k m68knommu: make sure 2nd FEC eth interface pins are enabled on 5275 ColdFire 2012-04-17 17:06:34 +10:00
microblaze
mips
mn10300
openrisc
parisc
powerpc irqdomain bug fixes for v3.4-rc3 2012-04-12 12:49:56 -07:00
s390 [S390] Fix compile error in swab.h 2012-04-11 14:28:26 +02:00
score
sh
sparc VM: add "vm_munmap()" helper function 2012-04-20 17:29:13 -07:00
tile VM: add "vm_mmap()" helper function 2012-04-20 17:29:13 -07:00
um
unicore32
x86 VM: add "vm_mmap()" helper function 2012-04-20 17:29:13 -07:00
xtensa
.gitignore
Kconfig