diff options
| author | David S. Miller <davem@nuts.davemloft.net> | 2005-02-25 00:36:06 -0800 |
|---|---|---|
| committer | David S. Miller <davem@nuts.davemloft.net> | 2005-02-25 00:36:06 -0800 |
| commit | 8f2a2e2e4041d036bf77f404171bc5396806decf (patch) | |
| tree | 80ae77934bc5f57cd259d3b5e656c9bbe8db7fc4 /include/asm-mips | |
| parent | d6d29b7df443ac7057992ecb3aca88cba17431bb (diff) | |
[MM]: Add 'pfn' arg to flush_cache_page().
Based almost entirely upon a patch by Russell King.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-mips')
| -rw-r--r-- | include/asm-mips/cacheflush.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/asm-mips/cacheflush.h b/include/asm-mips/cacheflush.h index c08c486a2f2a..635f1bfb403e 100644 --- a/include/asm-mips/cacheflush.h +++ b/include/asm-mips/cacheflush.h @@ -17,7 +17,7 @@ * * - flush_cache_all() flushes entire cache * - flush_cache_mm(mm) flushes the specified mm context's cache lines - * - flush_cache_page(mm, vmaddr) flushes a single page + * - flush_cache_page(mm, vmaddr, pfn) flushes a single page * - flush_cache_range(vma, start, end) flushes a range of pages * - flush_icache_range(start, end) flush a range of instructions * - flush_dcache_page(pg) flushes(wback&invalidates) a page for dcache @@ -34,8 +34,7 @@ extern void (*__flush_cache_all)(void); extern void (*flush_cache_mm)(struct mm_struct *mm); extern void (*flush_cache_range)(struct vm_area_struct *vma, unsigned long start, unsigned long end); -extern void (*flush_cache_page)(struct vm_area_struct *vma, - unsigned long page); +extern void (*flush_cache_page)(struct vm_area_struct *vma, unsigned long page, unsigned long pfn); extern void __flush_dcache_page(struct page *page); static inline void flush_dcache_page(struct page *page) |
