提交 03493374 编写于 作者: H Heiko Schocher 提交者: Paul Mundt

sh: Fix copy_{to,from}_user_page() with cache disabled.

Signed-off-by: NHeiko Schocher <heiko.schocher@invitel.hu>
Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 2ffbb837
......@@ -43,7 +43,7 @@ extern void __flush_purge_region(void *start, int size);
extern void __flush_invalidate_region(void *start, int size);
#endif
#ifdef CONFIG_CPU_SH4
#if defined(CONFIG_CPU_SH4) && !defined(CONFIG_CACHE_OFF)
extern void copy_to_user_page(struct vm_area_struct *vma,
struct page *page, unsigned long vaddr, void *dst, const void *src,
unsigned long len);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册