projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ffbb83
)
sh: Fix copy_{to,from}_user_page() with cache disabled.
author
Heiko Schocher
<heiko.schocher@invitel.hu>
Sun, 11 Nov 2007 04:17:44 +0000
(13:17 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Mon, 19 Nov 2007 03:55:51 +0000
(12:55 +0900)
Signed-off-by: Heiko Schocher <heiko.schocher@invitel.hu>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
include/asm-sh/cacheflush.h
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-sh/cacheflush.h
b/include/asm-sh/cacheflush.h
index b91246153b7ef4b90372b8e1982f7114bd8cd97d..9d528ada3c148615b6e09371aacaced7fdfcc867 100644
(file)
--- 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);
extern void __flush_invalidate_region(void *start, int size);
#endif
-#if
def 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);