]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm/vmalloc.c: rename VM_UNLIST to VM_UNINITIALIZED
authorZhang Yanfei <zhangyanfei@cn.fujitsu.com>
Thu, 27 Jun 2013 23:52:27 +0000 (09:52 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 28 Jun 2013 06:38:06 +0000 (16:38 +1000)
commit1882e7d755f7f6ee04b2249f3bad1e6543295f0e
tree197a3c6252e195d90d8b3aca99cdefe87bca7ee5
parentdc740236e1a8f1f5aefa4db331a5f032f58c08fa
mm/vmalloc.c: rename VM_UNLIST to VM_UNINITIALIZED

VM_UNLIST was used to indicate that the vm_struct is not listed in vmlist.
 But after commit 4341fa4 ("mm, vmalloc: remove list management of vmlist
after initializing vmalloc"), the meaning of this flag changed.  It now
means the vm_struct is not fully initialized.  So renaming it to
VM_UNINITIALIZED seems more reasonable.

Also change clear_vm_unlist to clear_vm_uninitialized_flag.

Signed-off-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/vmalloc.h
mm/vmalloc.c