ARM: Reduce __flush_dcache_page() visibility
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 24 Oct 2009 13:11:59 +0000 (14:11 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 4 Dec 2009 14:58:50 +0000 (14:58 +0000)
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/cacheflush.h
arch/arm/mm/fault-armv.c
arch/arm/mm/mm.h

index 61ae25caaacbd8f92cce7df48e75d8686d02f1f2..9fd6d3ab68c098120abab6b3f377a36ed4b0b6d5 100644 (file)
@@ -420,8 +420,6 @@ extern void flush_ptrace_access(struct vm_area_struct *vma, struct page *page,
  */
 extern void flush_dcache_page(struct page *);
 
-extern void __flush_dcache_page(struct address_space *mapping, struct page *page);
-
 static inline void __flush_icache_all(void)
 {
 #ifdef CONFIG_ARM_ERRATA_411920
index 4fbc7de8b4acd199059579cbfd7449f81424a673..729602291958871bfc749c7a1af708620f97cfd9 100644 (file)
@@ -23,6 +23,8 @@
 #include <asm/pgtable.h>
 #include <asm/tlbflush.h>
 
+#include "mm.h"
+
 static unsigned long shared_pte_mask = L_PTE_MT_BUFFERABLE;
 
 /*
index c4f6f05198e041831817747a69ad0003fa7c783e..a888363398f8528fcb6bc1bb7aeca4d0245464a9 100644 (file)
@@ -24,6 +24,8 @@ struct mem_type {
 
 const struct mem_type *get_mem_type(unsigned int type);
 
+extern void __flush_dcache_page(struct address_space *mapping, struct page *page);
+
 #endif
 
 struct map_desc;