提交 fe648be0 编写于 作者: Y Yinghai Lu 提交者: Ingo Molnar

x86: add after_bootmem flag for 32bit

to prepare to use dyn_array support etc.
Signed-off-by: NYinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 25db8ad5
......@@ -66,6 +66,7 @@ static unsigned long __meminitdata table_end;
static unsigned long __meminitdata table_top;
static int __initdata after_init_bootmem;
int after_bootmem;
static __init void *alloc_low_page(unsigned long *phys)
{
......@@ -988,6 +989,8 @@ void __init mem_init(void)
set_highmem_pages_init();
after_bootmem = 1;
codesize = (unsigned long) &_etext - (unsigned long) &_text;
datasize = (unsigned long) &_edata - (unsigned long) &_etext;
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.
先完成此消息的编辑!
想要评论请 注册