Date:2010-05-20 00:32:54 (12 years 4 months ago)
Author:Maarten ter Huurne
Commit:4979254d1db5344f9335022bac9d4a79d798f4b3
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