Commit 03493374 authored by Heiko Schocher's avatar Heiko Schocher Committed by Paul Mundt

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

Signed-off-by: default avatarHeiko Schocher <heiko.schocher@invitel.hu>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 2ffbb837
...@@ -43,7 +43,7 @@ extern void __flush_purge_region(void *start, int size); ...@@ -43,7 +43,7 @@ extern void __flush_purge_region(void *start, int size);
extern void __flush_invalidate_region(void *start, int size); extern void __flush_invalidate_region(void *start, int size);
#endif #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, extern void copy_to_user_page(struct vm_area_struct *vma,
struct page *page, unsigned long vaddr, void *dst, const void *src, struct page *page, unsigned long vaddr, void *dst, const void *src,
unsigned long len); unsigned long len);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment