Skip to content

Commit

Permalink
[PARISC] Add parisc implementation of flush_anon_page()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
James Bottomley authored and Kyle McMartin committed Mar 30, 2006
1 parent 5076c15 commit ab43227
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions include/asm-parisc/cacheflush.h
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,14 @@ flush_cache_page(struct vm_area_struct *vma, unsigned long vmaddr, unsigned long

}

static inline void
flush_anon_page(struct page *page, unsigned long vmaddr)
{
if (PageAnon(page))
flush_user_dcache_page(vmaddr);
}
#define ARCH_HAS_FLUSH_ANON_PAGE

#ifdef CONFIG_DEBUG_RODATA
void mark_rodata_ro(void);
#endif
Expand Down

0 comments on commit ab43227

Please sign in to comment.