diff options
author | Ulf Carlsson <md1ulfc@mdstud.chalmers.se> | 2000-07-04 06:04:22 +0000 |
---|---|---|
committer | Ulf Carlsson <md1ulfc@mdstud.chalmers.se> | 2000-07-04 06:04:22 +0000 |
commit | ecbf3aa6b26b820c238b4776bc89d46eaf8a6613 (patch) | |
tree | c51c1616fddd1dafc6a643a02922e6b73f8a7370 /include/asm-mips/pgtable.h | |
parent | 27af811caed7ddbdfae4f3109bb40caee6e77bc9 (diff) |
flush_icache_page takes struct page * as argument as opposed to
flush_cache_page that still takes unsigned long.
Diffstat (limited to 'include/asm-mips/pgtable.h')
-rw-r--r-- | include/asm-mips/pgtable.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-mips/pgtable.h b/include/asm-mips/pgtable.h index b2d3ed058..ad03fdc2a 100644 --- a/include/asm-mips/pgtable.h +++ b/include/asm-mips/pgtable.h @@ -42,7 +42,8 @@ extern void (*_flush_page_to_ram)(struct page * page); #define flush_page_to_ram(page) _flush_page_to_ram(page) #define flush_icache_range(start, end) flush_cache_all() -#define flush_icache_page(start,page) flush_cache_page(vma, page) + +#define flush_icache_page(vma, page) _flush_cache_page(vma, page->virtual & PAGE_MASK) /* |