]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9bcfe83a2f3148db90c13c4b841e13693e1987dd
tree7a0251509c169b0df1a6bf4bc47c5bca709e06da
parent36829eead227d4f71b245d674ae5ca3611b93df7
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