Implement flush_kernel_dcache_page() for arm. Signed-off-by: Tejun Heo <htejun@xxxxxxxxx> --- Sorry, the patch contained in the previous post was generated against the wrong base. Please ignore it. include/asm-arm/cacheflush.h | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) fad719d62838161fb0d6f306c6e060f8ef2ddfd0 diff --git a/include/asm-arm/cacheflush.h b/include/asm-arm/cacheflush.h index 746be56..7ab6ec3 100644 --- a/include/asm-arm/cacheflush.h +++ b/include/asm-arm/cacheflush.h @@ -331,6 +331,12 @@ #define flush_dcache_mmap_lock(mapping) #define flush_dcache_mmap_unlock(mapping) \ write_unlock_irq(&(mapping)->tree_lock) +static inline void flush_kernel_dcache_page(struct page *page) +{ + __cpuc_flush_dcache_page(page_address(page)); +} +#define ARCH_HAS_FLUSH_KERNEL_DCACHE_PAGE + #define flush_icache_user_range(vma,page,addr,len) \ flush_dcache_page(page) -- 1.3.2 - : send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html