Date:2010-05-20 00:32:54 (10 years 4 months ago)
Author:Maarten ter Huurne
Commit:b2ecc5e4bbfa94685d6a74fd4e8a3fcbcc994be4
Message:mips: Implement flush_kernel_dcache_page(). 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.

Files: arch/mips/include/asm/cacheflush.h (1 diff)

Change Details

arch/mips/include/asm/cacheflush.h
114114extern void *kmap_coherent(struct page *page, unsigned long addr);
115115extern void kunmap_coherent(void);
116116
117#define ARCH_HAS_FLUSH_KERNEL_DCACHE_PAGE
118static inline void flush_kernel_dcache_page(struct page *page)
119{
120    flush_dcache_page(page);
121}
122
117123#endif /* _ASM_CACHEFLUSH_H */

Archive Download the corresponding diff file



interactive