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)
commit142d44b0dd6741a64a7bdbe029110e7c1dcf1d23
tree7c3c0b58ecb8bddf71bb9c387721ec5d534007de
parent74d46d6b2d23d44d72c37df4c6a5d2e782f7b088
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