lkml.org 
[lkml]   [2010]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH 2/5] arch/x86/kernel/head_32.S Warning: shift count out of range (32 is not between 0 and 31)
    Signed-off-by: Rene Bolldorf <xsecute@googlemail.com>

    diff --git a/arch/x86/kernel/head_32.S b/arch/x86/kernel/head_32.S
    index 37c3d4b..8bfba5e 100644
    --- a/arch/x86/kernel/head_32.S
    +++ b/arch/x86/kernel/head_32.S
    @@ -62,7 +62,7 @@

    /* Enough space to fit pagetables for the low memory linear map */
    MAPPING_BEYOND_END = \
    - PAGE_TABLE_SIZE(((1<<32) - __PAGE_OFFSET) >> PAGE_SHIFT) << PAGE_SHIFT
    + PAGE_TABLE_SIZE(((1<<31) - __PAGE_OFFSET) >> PAGE_SHIFT) << PAGE_SHIFT

    /*
    * Worst-case size of the kernel mapping we need to make:

    \
     
     \ /
      Last update: 2010-03-18 23:11    [W:0.048 / U:31.940 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site