Skip to content

Commit

Permalink
MIPS: Implement flush_kernel_dcache_page().
Browse files Browse the repository at this point in the history
This is just a quick fix: a real fix would implement flush_kernel_vmap_range() and invalidate_kernel_vmap_range() as well, but those are only used in XFS for which we have no need on the Dingoo.
  • Loading branch information
mthuurne committed Aug 2, 2011
1 parent b2bbc67 commit 4979254
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions arch/mips/include/asm/cacheflush.h
Expand Up @@ -114,4 +114,10 @@ unsigned long run_uncached(void *func);
extern void *kmap_coherent(struct page *page, unsigned long addr);
extern void kunmap_coherent(void);

#define ARCH_HAS_FLUSH_KERNEL_DCACHE_PAGE
static inline void flush_kernel_dcache_page(struct page *page)
{
flush_dcache_page(page);
}

#endif /* _ASM_CACHEFLUSH_H */

0 comments on commit 4979254

Please sign in to comment.