提交 fad9e7d9 编写于 作者: P Paul Mundt

sh64: Flag sh64_get_page() as __init_refok.

sh64_get_page() wraps in to regular allocators as well as the
bootmem allocator for fetching pages, it carefully checks to
see which one it can use depending on the system state, so
the access is safe.
Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 56982002
......@@ -242,7 +242,7 @@ static void shmedia_free_io(struct resource *res)
release_resource(res);
}
static void *sh64_get_page(void)
static __init_refok void *sh64_get_page(void)
{
extern int after_bootmem;
void *page;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册