]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm/memory.c:print_vma_addr(): call up_read(&mm->mmap_sem) directly
authorJeff Liu <jeff.liu@oracle.com>
Sat, 21 Jul 2012 00:54:14 +0000 (10:54 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 25 Jul 2012 03:02:31 +0000 (13:02 +1000)
commit3463cec6bc53c0529e934adaa73278be8d041e99
treebd5fbf3ddc1095ee933b7aba9b929b6749504dc5
parent6501c11e95843c88fc98e0751b87e8c5c174f8a7
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>
mm/memory.c