[PATCH] [PPC]: Add linux/pagemap.h to arch/ppc/mm/tlb.c

Laurent Pinchart laurent.pinchart at technotrade.biz
Mon Jul 9 22:58:18 EST 2007


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 at technotrade.biz>
---
 arch/ppc/mm/tlb.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/ppc/mm/tlb.c b/arch/ppc/mm/tlb.c
index fa29740..4ff260b 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>
 
-- 
1.5.0



More information about the Linuxppc-embedded mailing list