Re: [Patch] percpu: use the right flag for get_vm_area()

From: Tejun Heo
Date: Thu Aug 13 2009 - 22:03:17 EST


Amerigo Wang wrote:
> 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@xxxxxxxxxx>
> Cc: Tejun Heo <tj@xxxxxxxxxx>
> Cc: Ingo Molnar <mingo@xxxxxxx>

Ah... indeed.

Acked-by: Tejun Heo <tj@xxxxxxxxxx>

Will forward to Linus with other two patches today.

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/