[PATCH] ARM: Fix compile after delay page freeing patch
Russell King - ARM Linux
linux at arm.linux.org.uk
Tue Feb 22 15:18:42 EST 2011
On Tue, Feb 22, 2011 at 09:10:47PM +0100, Uwe Kleine-König wrote:
> Hello Russell,
>
> On Tue, Feb 22, 2011 at 07:59:29PM +0000, Russell King - ARM Linux wrote:
> > Note that arch/x86/mm/init.c and arch/x86/mm/pgtable.c both include
> > asm/tlb.h without linux/pagemap.h, and use the generic version. I bet
> > no one's tried building x86 with CONFIG_SWAP=n yet...
> I did, and it doesn't fail.
>
> include/asm-generic/tlb.h includes <asm/pgalloc.h> which for x86
> includes <linux/pagemap.h>
Maybe then we should add linux/pagemap.h to our asm/pgalloc.h.
More information about the linux-arm-kernel
mailing list