lkml.org 
[lkml]   [2006]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH] mips: follow the change of split_page()
    Hi,

    This patch follows the change of split_page().

    Yoichi

    Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>

    diff -urN -X dontdiff mm3-orig/arch/mips/mm/init.c mm3/arch/mips/mm/init.c
    --- mm3-orig/arch/mips/mm/init.c 2006-01-25 17:28:24.574182000 +0900
    +++ mm3/arch/mips/mm/init.c 2006-01-25 17:37:48.369417500 +0900
    @@ -53,7 +53,8 @@
    */
    unsigned long setup_zero_pages(void)
    {
    - unsigned long order, size;
    + unsigned int order;
    + unsigned long size;
    struct page *page;

    if (cpu_has_vce)
    @@ -66,7 +67,7 @@
    panic("Oh boy, that early out of memory?");

    page = virt_to_page(empty_zero_page);
    - split_page(page);
    + split_page(page, order);
    while (page < virt_to_page(empty_zero_page + (PAGE_SIZE << order))) {
    SetPageReserved(page);
    page++;
    -
    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-01-25 10:05    [W:0.031 / U:121.740 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site