summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@technotrade.biz>2007-07-09 14:58:18 +0200
committerKumar Gala <galak@kernel.crashing.org>2007-07-10 07:33:07 +0200
commitcef1a3a5b8697ad76a6d18753e418cfe6a897030 (patch)
tree013a13785fd2b3b4a6c1f226b7674c362370ab1e
parent[POWERPC] 52xx: sparse fixes (diff)
downloadlinux-cef1a3a5b8697ad76a6d18753e418cfe6a897030.tar.xz
linux-cef1a3a5b8697ad76a6d18753e418cfe6a897030.zip
[PPC] Add linux/pagemap.h to arch/ppc/mm/tlb.c
When compiled without swap support, arch/mm/tlb.c complains about missing function declarations. This patch fixes the warnings. Signed-off-by: Laurent Pinchart <laurent.pinchart@technotrade.biz> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
-rw-r--r--arch/ppc/mm/tlb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ppc/mm/tlb.c b/arch/ppc/mm/tlb.c
index fa29740a28f5..4ff260bc9dd1 100644
--- a/arch/ppc/mm/tlb.c
+++ b/arch/ppc/mm/tlb.c
@@ -27,6 +27,7 @@
#include <linux/mm.h>
#include <linux/init.h>
#include <linux/highmem.h>
+#include <linux/pagemap.h>
#include <asm/tlbflush.h>
#include <asm/tlb.h>