aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-08-19 23:49:41 -0400
committerIngo Molnar <mingo@elte.hu>2008-10-16 10:52:02 -0400
commitfe648be019119722ec0ac54e3a4b2e5bf5168589 (patch)
treeccde89d436cf847793f680cb59ca70af3bea9158 /arch
parent25db8ad5c56700e7716fe23426b16c5e3b1674b4 (diff)
x86: add after_bootmem flag for 32bit
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/mm/init_32.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/mm/init_32.c b/arch/x86/mm/init_32.c
index 8396868e82c5..91343c2694b4 100644
--- a/arch/x86/mm/init_32.c
+++ b/arch/x86/mm/init_32.c
@@ -66,6 +66,7 @@ static unsigned long __meminitdata table_end;
66static unsigned long __meminitdata table_top; 66static unsigned long __meminitdata table_top;
67 67
68static int __initdata after_init_bootmem; 68static int __initdata after_init_bootmem;
69int after_bootmem;
69 70
70static __init void *alloc_low_page(unsigned long *phys) 71static __init void *alloc_low_page(unsigned long *phys)
71{ 72{
@@ -988,6 +989,8 @@ void __init mem_init(void)
988 989
989 set_highmem_pages_init(); 990 set_highmem_pages_init();
990 991
992 after_bootmem = 1;
993
991 codesize = (unsigned long) &_etext - (unsigned long) &_text; 994 codesize = (unsigned long) &_etext - (unsigned long) &_text;
992 datasize = (unsigned long) &_edata - (unsigned long) &_etext; 995 datasize = (unsigned long) &_edata - (unsigned long) &_etext;
993 initsize = (unsigned long) &__init_end - (unsigned long) &__init_begin; 996 initsize = (unsigned long) &__init_end - (unsigned long) &__init_begin;