summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/pgtable.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2001-02-05 01:02:46 +0000
committerRalf Baechle <ralf@linux-mips.org>2001-02-05 01:02:46 +0000
commit41f766e193858f7b5d1f9e81f50f392c1bd40f32 (patch)
tree98e4f873822133df2c5347efd9e95649cbd09a76 /include/asm-mips/pgtable.h
parentc57670c55888e298bc39ccfb4cc020b963a478c5 (diff)
Introduce __flush_cache_all() which flushes the cache no matter if
this operation is necessary from the mm point of view or not.
Diffstat (limited to 'include/asm-mips/pgtable.h')
-rw-r--r--include/asm-mips/pgtable.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-mips/pgtable.h b/include/asm-mips/pgtable.h
index 8736bc35b..93cf91fa6 100644
--- a/include/asm-mips/pgtable.h
+++ b/include/asm-mips/pgtable.h
@@ -28,6 +28,7 @@
* - flush_icache_range(start, end) flush a range of instructions
*/
extern void (*_flush_cache_all)(void);
+extern void (*___flush_cache_all)(void);
extern void (*_flush_cache_mm)(struct mm_struct *mm);
extern void (*_flush_cache_range)(struct mm_struct *mm, unsigned long start,
unsigned long end);
@@ -41,6 +42,7 @@ extern void (*_flush_icache_page)(struct vm_area_struct *vma,
#define flush_dcache_page(page) do { } while (0)
#define flush_cache_all() _flush_cache_all()
+#define __flush_cache_all() ___flush_cache_all()
#define flush_cache_mm(mm) _flush_cache_mm(mm)
#define flush_cache_range(mm,start,end) _flush_cache_range(mm,start,end)
#define flush_cache_page(vma,page) _flush_cache_page(vma, page)