Re: [PATCH] fix warning in arch/x86/mm/pgtable.c

From: Ingo Molnar
Date: Mon Jul 28 2008 - 12:06:59 EST



* Michael Borisov <niro@xxxxxx> 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.

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