VM: add "vm_brk()" helper function
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 20 Apr 2012 22:35:40 +0000 (15:35 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 21 Apr 2012 00:28:17 +0000 (17:28 -0700)
commite4eb1ff61b323d6141614e5458a1f53c7046ff8e
tree7a0251509c169b0df1a6bf4bc47c5bca709e06da
parent3b422e9c2c020a1137349c614da7f9c9761a0922
VM: add "vm_brk()" helper function

It does the same thing as "do_brk()", except it handles the VM locking
too.

It turns out that all external callers want that anyway, so we can make
do_brk() static to just mm/mmap.c while at it.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/ia32/ia32_aout.c
fs/binfmt_aout.c
fs/binfmt_elf.c
include/linux/mm.h
mm/mmap.c
mm/nommu.c