Re: [PATCH tip] x86: unsigned long pte_pfn

From: Ingo Molnar
Date: Wed Sep 10 2008 - 04:01:30 EST



* Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:

> > [PATCH tip] x86: unsigned long pte_pfn
> >
> > pte_pfn() has always been of type unsigned long, even on 32-bit PAE;
> > but in the current tip/next/mm tree it works out to be unsigned long
> > long on 64-bit, which gives an irritating warning if you try to printk
> > a pfn with the usual %lx.
> >
> > Now use the same pte_pfn() function, moved from pgtable-3level.h
> > to pgtable.h, for all models: as suggested by Jeremy Fitzhardinge.
> > And pte_page() can well move along with it (remaining a macro to
> > avoid dependence on mm_types.h).
> >
> > Signed-off-by: Hugh Dickins <hugh@xxxxxxxxxxx>
> >
> Acked-by: Jeremy Fitzhardinge <jeremy@xxxxxxxx>

applied to tip/x86/mm, thanks guys!

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/