[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110124210813.ba743fc5.yuasa@linux-mips.org>
Date: Mon, 24 Jan 2011 21:08:13 +0900
From: Yoichi Yuasa <yuasa@...ux-mips.org>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: yuasa@...ux-mips.org, linux-mips <linux-mips@...ux-mips.org>,
linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: [PATCH] fix build error when CONFIG_SWAP is not set
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@...ux-mips.org>
---
include/linux/swap.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/linux/swap.h b/include/linux/swap.h
index 4d55932..92c1be6 100644
--- a/include/linux/swap.h
+++ b/include/linux/swap.h
@@ -8,6 +8,7 @@
#include <linux/memcontrol.h>
#include <linux/sched.h>
#include <linux/node.h>
+#include <linux/pagemap.h>
#include <asm/atomic.h>
#include <asm/page.h>
--
1.7.3.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists