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

sh: ioremap_64 needs after_bootmem.

Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 b542ad11
无相关合并请求
...@@ -170,6 +170,7 @@ void __init paging_init(void) ...@@ -170,6 +170,7 @@ void __init paging_init(void)
} }
static struct kcore_list kcore_mem, kcore_vmalloc; static struct kcore_list kcore_mem, kcore_vmalloc;
int after_bootmem = 0;
void __init mem_init(void) void __init mem_init(void)
{ {
...@@ -214,6 +215,8 @@ void __init mem_init(void) ...@@ -214,6 +215,8 @@ void __init mem_init(void)
clear_page = clear_page_nommu; clear_page = clear_page_nommu;
#endif #endif
after_bootmem = 1;
codesize = (unsigned long) &_etext - (unsigned long) &_text; codesize = (unsigned long) &_etext - (unsigned long) &_text;
datasize = (unsigned long) &_edata - (unsigned long) &_etext; datasize = (unsigned long) &_edata - (unsigned long) &_etext;
initsize = (unsigned long) &__init_end - (unsigned long) &__init_begin; initsize = (unsigned long) &__init_end - (unsigned long) &__init_begin;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部