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 | |
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')
-rw-r--r-- | include/asm-mips/pgtable.h | 3 | ||||
-rw-r--r-- | include/asm-mips64/pgtable.h | 2 |
2 files changed, 3 insertions, 2 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) /* diff --git a/include/asm-mips64/pgtable.h b/include/asm-mips64/pgtable.h index 0d9996a7c..6a3381aae 100644 --- a/include/asm-mips64/pgtable.h +++ b/include/asm-mips64/pgtable.h @@ -43,7 +43,7 @@ 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(vma, page) flush_cache_page(vma, page) +#define flush_icache_page(vma, page) flush_cache_page(vma, page->virtual & PAGE_MASK) /* |