]> git.baikalelectronics.ru Git - kernel.git/commit
percpu: use the right flag for get_vm_area()
authorAmerigo Wang <amwang@redhat.com>
Thu, 13 Aug 2009 06:00:13 +0000 (02:00 -0400)
committerTejun Heo <tj@kernel.org>
Fri, 14 Aug 2009 04:21:10 +0000 (13:21 +0900)
commit6e0e1f33a513c1dc6b038265b2d61ba93611730a
tree7c3c0b58ecb8bddf71bb9c387721ec5d534007de
parentba688e8f216960f6c8d8ed578f38597c8b5868ba
percpu: use the right flag for get_vm_area()

get_vm_area() only accepts VM_* flags, not GFP_*.

And according to the doc of get_vm_area(), here should be
VM_ALLOC.

Signed-off-by: WANG Cong <amwang@redhat.com>
Acked-by: Tejun Heo <tj@kernel.org>
Cc: Ingo Molnar <mingo@elte.hu>
mm/percpu.c