[SPARC64]: Add linux/pagemap.h to asm/tlb.h
authorAlexey Dobriyan <adobriyan@sw.ru>
Fri, 29 Jun 2007 04:25:31 +0000 (21:25 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Jun 2007 04:25:31 +0000 (21:25 -0700)
As seen on sparc64-allnoconfig:

  CC      arch/sparc64/mm/tlb.o
In file included from arch/sparc64/mm/tlb.c:19:
include/asm/tlb.h: In function 'tlb_flush_mmu':
include/asm/tlb.h:60: warning: implicit declaration of function 'release_pages'
include/asm/tlb.h: In function 'tlb_remove_page':
include/asm/tlb.h:92: warning: implicit declaration of function 'page_cache_release'

Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/asm-sparc64/tlb.h

index 7af1e11..349d1d3 100644 (file)
@@ -2,6 +2,7 @@
 #define _SPARC64_TLB_H
 
 #include <linux/swap.h>
+#include <linux/pagemap.h>
 #include <asm/pgalloc.h>
 #include <asm/tlbflush.h>
 #include <asm/mmu_context.h>