[PATCH] [ARM] tlb: fix build error with CONFIG_SWAP=n

Russell King - ARM Linux linux at arm.linux.org.uk
Sun Mar 6 11:36:56 EST 2011


On Sun, Mar 06, 2011 at 06:46:26PM +0300, Dmitry Eremin-Solenikov wrote:
> Fix this build error with CONFIG_SWAP=n:
> 
> In file included from arch/arm/mm/init.c:28:
> arch/arm/include/asm/tlb.h: In function ‘tlb_flush_mmu’:
> arch/arm/include/asm/tlb.h:104: error: implicit declaration of function ‘release_pages’
> arch/arm/include/asm/tlb.h: In function ‘tlb_remove_page’:
> arch/arm/include/asm/tlb.h:168: error: implicit declaration of function ‘page_cache_release’

Already caught:

http://ftp.arm.linux.org.uk/git/?p=linux-2.6-arm.git;a=shortlog;h=refs/heads/fixes

11 days    Uwe Kleine...   ARM: 6757/1: fix tlb.h induced linux/swap.h
ago                        build failure

I've had about four of these patches over the last two weeks or so,
it would be a good idea to check the git tree before sending another
version of this.



More information about the linux-arm-kernel mailing list