Messages in this thread |  | | | Date | Fri, 8 Feb 2008 15:04:09 -0500 | | From | "Mike Frysinger" <> | | Subject | Re: 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
|  |