lkml.org 
[lkml]   [2008]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateFri, 8 Feb 2008 15:04:09 -0500
From"Mike Frysinger" <>
SubjectRe: blackfin compile error
On Feb 8, 2008 1:53 PM, Bryan Wu <cooloney.lkml@gmail.com> wrote:
> On Feb 8, 2008 1:25 PM, Mike Frysinger <vapier.adi@gmail.com> 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


\
 
 \ /
  Last update: 2008-02-08 21:07    [from the cache]
©2003-2010