linux-mips
[Top] [All Lists]

Re: [PATCH] fix build error when CONFIG_SWAP is not set

To: Yoichi Yuasa <yuasa@linux-mips.org>
Subject: Re: [PATCH] fix build error when CONFIG_SWAP is not set
From: Ralf Baechle <ralf@linux-mips.org>
Date: Mon, 24 Jan 2011 14:15:36 +0100
Cc: Andrew Morton <akpm@linux-foundation.org>, linux-mips <linux-mips@linux-mips.org>, linux-mm@kvack.org, linux-kernel@vger.kernel.org
In-reply-to: <20110124210813.ba743fc5.yuasa@linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20110124210813.ba743fc5.yuasa@linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.21 (2010-09-15)
On Mon, Jan 24, 2011 at 09:08:13PM +0900, Yoichi Yuasa wrote:

> In file included from
> linux-2.6/arch/mips/include/asm/tlb.h:21,
>                  from mm/pgtable-generic.c:9:
> include/asm-generic/tlb.h: In function 'tlb_flush_mmu':
> include/asm-generic/tlb.h:76: error: implicit declaration of function
> 'release_pages'
> include/asm-generic/tlb.h: In function 'tlb_remove_page':
> include/asm-generic/tlb.h:105: error: implicit declaration of function
> 'page_cache_release'
> make[1]: *** [mm/pgtable-generic.o] Error 1
> 
> Signed-off-by: Yoichi Yuasa <yuasa@linux-mips.org>

Works as advertised for me.

Tested-by: Ralf Baechle <ralf@linux-mips.org>

  Ralf

<Prev in Thread] Current Thread [Next in Thread>