]> 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>
Wed, 19 Jun 2013 00:06:42 +0000 (10:06 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Jun 2013 07:13:26 +0000 (17:13 +1000)
commit131f90ebb1337ad5cbdcab7340bcaa21f9cce06c
treedfb5469ef3dfa3251fffc6d42d6c69c4b8440e0d
parentcec3bfcb44284cf843e89950d65c4f8b6c0ca6d5
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