]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm, vmalloc: call setup_vmalloc_vm() instead of insert_vmalloc_vm()
authorZhang Yanfei <zhangyanfei@cn.fujitsu.com>
Thu, 27 Jun 2013 23:52:10 +0000 (09:52 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 28 Jun 2013 06:37:55 +0000 (16:37 +1000)
commit8bf16177a698ee7579d5a9b28c5e29edcebbd1c3
tree0adbac6924b9e6aa071edf9376efd0fe64746844
parenta55daa12cc9638b68ecb96439bff88e734012994
mm, vmalloc: call setup_vmalloc_vm() instead of insert_vmalloc_vm()

Here we pass flags with only VM_ALLOC bit set, it is unnecessary to call
clear_vm_unlist to clear VM_UNLIST bit.  So use setup_vmalloc_vm instead
of insert_vmalloc_vm.

Signed-off-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
Acked-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/vmalloc.c