Re: 2.6.16-rc5-mm3

From: Andrew Morton
Date: Tue Mar 07 2006 - 16:21:06 EST


Christoph Lameter <clameter@xxxxxxxxxxxx> wrote:
>
> On Tue, 7 Mar 2006, Andrew Morton wrote:
>
> > --- devel/mm/mempolicy.c~numa_maps-update-fix 2006-03-07 12:48:38.000000000 -0800
> > +++ devel-akpm/mm/mempolicy.c 2006-03-07 12:49:22.000000000 -0800
> > @@ -1789,6 +1789,7 @@ static void gather_stats(struct page *pa
> > cond_resched();
> > }
> >
> > +#ifdef CONFIG_HUGETLB_PAGE
> > static void check_huge_range(struct vm_area_struct *vma,
> > unsigned long start, unsigned long end,
> > struct numa_maps *md)
> > @@ -1814,6 +1815,7 @@ static void check_huge_range(struct vm_a
> > gather_stats(page, md, pte_dirty(*ptep));
> > }
> > }
> #else
> ....
>
> {
> }
>
> ?

Yeah, that won't be needed for a link, but it's needed to avoid a compile
warning.

-
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/