RE: [RFC][PATCH 33/35] asm-generic/ptemap.h for HIGHPTE users

From: Dave Hansen
Date: Fri May 01 2009 - 14:33:21 EST


On Fri, 2009-05-01 at 11:29 -0700, Luck, Tony wrote:
> >> You need to add a closing #endif here.
> > Fixed, thanks.
>
> ia64 build fails with:
>
> arch/ia64/mm/init.c: In function 'put_kernel_page':
> arch/ia64/mm/init.c:248: error: implicit declaration of function 'pte_alloc_kernel'
> arch/ia64/mm/init.c:248: warning: assignment makes pointer from integer without a cast
> make[1]: *** [arch/ia64/mm/init.o] Error 1
>
> Which I fixed by adding a #include <linux/ptemap.h> to init.c

I need to get a working ia64 compiler. :)

I'll add that to my 'include linux/ptemap.h at all use sites' patch.

-- Dave

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