diff options
author | Heiko Schocher <heiko.schocher@invitel.hu> | 2007-11-10 23:17:44 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-11-18 22:55:51 -0500 |
commit | 0349337467dc6039dcfb225074944ae944e7b34e (patch) | |
tree | c05defcee2bd680c310291cc97055d90845d2082 | |
parent | 2ffbb8377c7a0713baf6644e285adc27a5654582 (diff) |
sh: Fix copy_{to,from}_user_page() with cache disabled.
Signed-off-by: Heiko Schocher <heiko.schocher@invitel.hu>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r-- | include/asm-sh/cacheflush.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-sh/cacheflush.h b/include/asm-sh/cacheflush.h index b91246153b7e..9d528ada3c14 100644 --- a/include/asm-sh/cacheflush.h +++ b/include/asm-sh/cacheflush.h | |||
@@ -43,7 +43,7 @@ extern void __flush_purge_region(void *start, int size); | |||
43 | extern void __flush_invalidate_region(void *start, int size); | 43 | extern void __flush_invalidate_region(void *start, int size); |
44 | #endif | 44 | #endif |
45 | 45 | ||
46 | #ifdef CONFIG_CPU_SH4 | 46 | #if defined(CONFIG_CPU_SH4) && !defined(CONFIG_CACHE_OFF) |
47 | extern void copy_to_user_page(struct vm_area_struct *vma, | 47 | extern void copy_to_user_page(struct vm_area_struct *vma, |
48 | struct page *page, unsigned long vaddr, void *dst, const void *src, | 48 | struct page *page, unsigned long vaddr, void *dst, const void *src, |
49 | unsigned long len); | 49 | unsigned long len); |