[PATCH] ARM: fix build failure
Tony Lindgren
tony at atomide.com
Tue Feb 22 16:57:10 EST 2011
* Uwe Kleine-König <u.kleine-koenig at pengutronix.de> [110222 12:25]:
> Commit
>
> 06824ba (ARM: tlb: delay page freeing for SMP and ARMv7 CPUs)
>
> introduced a build failure for builds with CONFIG_SWAP=n:
>
> In file included from arch/arm/mm/init.c:27:
> arch/arm/include/asm/tlb.h: In function 'tlb_flush_mmu':
> arch/arm/include/asm/tlb.h:101: error: implicit declaration of function 'release_pages'
> arch/arm/include/asm/tlb.h: In function 'tlb_remove_page':
> arch/arm/include/asm/tlb.h:165: error: implicit declaration of function 'page_cache_release'
>
> Fix that by #including <linux/pagemap.h> in <asm/pgalloc.h> as it's done
> by x86.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
Acked-by: Tony Lindgren <tony at atomide.com>
More information about the linux-arm-kernel
mailing list