]> rtime.felk.cvut.cz Git - linux-imx.git/commit
mm/memory.c:print_vma_addr(): call up_read(&mm->mmap_sem) directly
authorJeff Liu <jeff.liu@oracle.com>
Tue, 31 Jul 2012 23:43:18 +0000 (16:43 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Aug 2012 01:42:43 +0000 (18:42 -0700)
commit51a07e50b230d14e1b8bef50d66655d003fa006c
tree20e79dbe3e7d86f23ff6d877a68eea0c00aabeee
parent8e125cd85517c9716695b0abfabc0a4a3fcb94f3
mm/memory.c:print_vma_addr(): call up_read(&mm->mmap_sem) directly

Call up_read(&mm->mmap_sem) directly since we have already got mm via
current->mm at the beginning of print_vma_addr().

Signed-off-by: Jie Liu <jeff.liu@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memory.c