On Feb 8, 2008 1:53 PM, Bryan Wu <[EMAIL PROTECTED]> wrote:
> On Feb 8, 2008 1:25 PM, Mike Frysinger <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to