lkml.org 
[lkml]   [2008]   [Aug]   [10]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    FromYinghai Lu <>
    Subject[PATCH 03/43] x86: add after_bootmem for 32bit
    DateSun, 10 Aug 2008 00:35:52 -0700
    to prepare to use dyn_array support etc.
    
    Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
    ---
     arch/x86/mm/init_32.c |    3 +++
     1 files changed, 3 insertions(+), 0 deletions(-)
    diff --git a/arch/x86/mm/init_32.c b/arch/x86/mm/init_32.c
    index 4974e97..b5c1751 100644
    --- a/arch/x86/mm/init_32.c
    +++ b/arch/x86/mm/init_32.c
    @@ -65,6 +65,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)
     {
    @@ -924,6 +925,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;
    -- 
    1.5.4.5
    
    
    
    \
     
     \ /
      Last update: 2008-08-10 09:41    [from the cache]
    ©2003-2008