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

* Michael Borisov <niro@tut.by> 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@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: 2008-07-28 18:09    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site