[lkml]   [2008]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] fix warning in arch/x86/mm/pgtable.c

    * Michael Borisov <> wrote:

    > This patch fixes the following compile warning:
    > arch/x86/mm/pgtable.c: In function ‘pgd_mop_up_pmds’:
    > arch/x86/mm/pgtable.c:194: warning: unused variable ‘pmd’

    > - pmd_t *pmd = (pmd_t *)get_zeroed_page(GFP_KERNEL|
    > __GFP_REPEAT);
    > + pmd_t *pmd;
    > + pmd = (pmd_t *)get_zeroed_page(GFP_KERNEL|__GFP_REPEAT);

    what gcc version are you using? Seems to be a compiler bug.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2008-07-28 18:09    [W:0.022 / U:1.180 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site