diff options
author | James Bottomley <jejb@parisc-linux.org> | 2006-03-22 10:28:59 -0500 |
---|---|---|
committer | Kyle McMartin <kyle@hera.kernel.org> | 2006-03-30 12:48:43 -0500 |
commit | ab43227c8a568119a3aebc952a95ac3023e1730d (patch) | |
tree | f387220ee827f61e18c53c0143be7068ecaa5d61 /include/asm-parisc | |
parent | 5076c15862644edb91d2e3436b2fa3e07b28385d (diff) |
[PARISC] Add parisc implementation of flush_anon_page()
This should now allow SG_IO and fuse to function correctly on our
platform.
Signed-off-by: James Bottomley <jejb@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'include/asm-parisc')
-rw-r--r-- | include/asm-parisc/cacheflush.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-parisc/cacheflush.h b/include/asm-parisc/cacheflush.h index c53af9ff41b5..482be77551e3 100644 --- a/include/asm-parisc/cacheflush.h +++ b/include/asm-parisc/cacheflush.h | |||
@@ -184,6 +184,14 @@ flush_cache_page(struct vm_area_struct *vma, unsigned long vmaddr, unsigned long | |||
184 | 184 | ||
185 | } | 185 | } |
186 | 186 | ||
187 | static inline void | ||
188 | flush_anon_page(struct page *page, unsigned long vmaddr) | ||
189 | { | ||
190 | if (PageAnon(page)) | ||
191 | flush_user_dcache_page(vmaddr); | ||
192 | } | ||
193 | #define ARCH_HAS_FLUSH_ANON_PAGE | ||
194 | |||
187 | #ifdef CONFIG_DEBUG_RODATA | 195 | #ifdef CONFIG_DEBUG_RODATA |
188 | void mark_rodata_ro(void); | 196 | void mark_rodata_ro(void); |
189 | #endif | 197 | #endif |