提交 d55e2ca8 编写于 作者: B Benjamin Herrenschmidt 提交者: Linus Torvalds

Make __vunmap static

__vunmap doesn't seem to be used outside of mm/vmalloc.c, and has
no prototype in any header so let's make it static
Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 df652fe1
......@@ -311,7 +311,7 @@ struct vm_struct *remove_vm_area(void *addr)
return v;
}
void __vunmap(void *addr, int deallocate_pages)
static void __vunmap(void *addr, int deallocate_pages)
{
struct vm_struct *area;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册