Skip to content

Commit

Permalink
x86: add after_bootmem flag for 32bit
Browse files Browse the repository at this point in the history
to prepare to use dyn_array support etc.

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Yinghai Lu authored and Ingo Molnar committed Oct 16, 2008
1 parent 25db8ad commit fe648be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/x86/mm/init_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit fe648be

Please sign in to comment.