Skip to contentSkip to conversation

sparc64: add linux/pagemap.h to asm/tlb.h

PATCH In review Alexey Dobriyan 2 participants 2 messages Jun 28, 2007 – Jun 29, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sparc64: add linux/pagemap.h to asm/tlb.h

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'

---

 include/asm-sparc64/tlb.h |    1 +
 1 file changed, 1 insertion(+)
include/asm-sparc64/tlb.h +1 -0
@@ -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>
#1 lore raw

From: Alexey Dobriyan <[email protected]>
Date: Thu, 28 Jun 2007 17:14:48 +0400

Quoted 10 lines

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'

Patch applied, thanks a lot Alexey.