Re: blackfin compile error

From: Mike Frysinger
Date: Fri Feb 08 2008 - 15:04:52 EST


On Feb 8, 2008 1:53 PM, Bryan Wu <cooloney.lkml@xxxxxxxxx> wrote:
> On Feb 8, 2008 1:25 PM, Mike Frysinger <vapier.adi@xxxxxxxxx> wrote:
> > looks like only MMU code currently uses the function, but to keep
> > things nice, we may want something like:
> > static inline int is_swap_pte(pte_t pte)
> > {
> > #ifdef CONFIG_MMU
> > return !pte_none(pte) && !pte_present(pte) && !pte_file(pte);
> > #else
> > return 0;
> > #endif
> > }
> >
> > the header is also lacking an #include <asm/pgtable.h> at the top ...
>
> Did you submit a patch to mainline? It should be merged to fix this
> compiling error.

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