lkml.org 
[lkml]   [2008]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 16/16] x86: we only have init_pg_tables_end for 32bit
    Date


    Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>


    ---
    arch/x86/kernel/setup.c | 12 ++++++------
    1 file changed, 6 insertions(+), 6 deletions(-)

    Index: linux-2.6/arch/x86/kernel/setup.c
    ===================================================================
    --- linux-2.6.orig/arch/x86/kernel/setup.c
    +++ linux-2.6/arch/x86/kernel/setup.c
    @@ -120,12 +120,6 @@ struct boot_params __initdata boot_param
    struct boot_params boot_params;
    #endif

    -/* This value is set up by the early boot code to point to the value
    - immediately after the boot time page tables. It contains a *physical*
    - address, and must not be in the .bss segment! */
    -unsigned long init_pg_tables_start __initdata = ~0UL;
    -unsigned long init_pg_tables_end __initdata = ~0UL;
    -
    /*
    * Machine setup..
    */
    @@ -152,6 +146,12 @@ static struct resource bss_resource = {


    #ifdef CONFIG_X86_32
    +/* This value is set up by the early boot code to point to the value
    + immediately after the boot time page tables. It contains a *physical*
    + address, and must not be in the .bss segment! */
    +unsigned long init_pg_tables_start __initdata = ~0UL;
    +unsigned long init_pg_tables_end __initdata = ~0UL;
    +
    static struct resource video_ram_resource = {
    .name = "Video RAM area",
    .start = 0xa0000,

    \
     
     \ /
      Last update: 2008-06-26 03:09    [W:0.038 / U:60.488 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site