lkml.org 
[lkml]   [2006]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 43/47] ia64: make partial_page.bitmap an unsigned long
    The find_*_bit() routines are defined to work on a pointer to unsigned long.
    But partial_page.bitmap is unsigned int and it is passed to find_*_bit() in
    arch/ia64/ia32/sys_ia32.c. So the compiler will print warnings.

    This patch changes to unsigned long instead.

    Signed-off-by: Akinobu Mita <mita@miraclelinux.com>
    arch/ia64/ia32/ia32priv.h | 4 ++--
    1 files changed, 2 insertions(+), 2 deletions(-)

    Index: 2.6-rc/arch/ia64/ia32/ia32priv.h
    ===================================================================
    --- 2.6-rc.orig/arch/ia64/ia32/ia32priv.h
    +++ 2.6-rc/arch/ia64/ia32/ia32priv.h
    @@ -29,9 +29,9 @@
    struct partial_page {
    struct partial_page *next; /* linked list, sorted by address */
    struct rb_node pp_rb;
    - /* 64K is the largest "normal" page supported by ia64 ABI. So 4K*32
    + /* 64K is the largest "normal" page supported by ia64 ABI. So 4K*64
    * should suffice.*/
    - unsigned int bitmap;
    + unsigned long bitmap;
    unsigned int base;
    };

    --
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-02-14 06:15    [W:0.023 / U:0.304 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site