Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 10988
b: refs/heads/master
c: 26852d5
h: refs/heads/master
v: v3
  • Loading branch information
Ralf Baechle committed Oct 29, 2005
1 parent deec589 commit 8840ec8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 505403b6a02aefc47c038acf56b719497b720012
refs/heads/master: 26852d5cdb2bac01f2a48b815194a045e8a8e300
8 changes: 7 additions & 1 deletion trunk/include/asm-mips/cacheflush.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,17 @@ extern void (*flush_icache_range)(unsigned long start, unsigned long end);

#define copy_to_user_page(vma, page, vaddr, dst, src, len) \
do { \
if (cpu_has_dc_aliases) \
flush_cache_page(vma, vaddr); \
memcpy(dst, (void *) src, len); \
flush_icache_page(vma, page); \
} while (0)
#define copy_from_user_page(vma, page, vaddr, dst, src, len) \
memcpy(dst, src, len)
do { \
if (cpu_has_dc_aliases) \
flush_cache_page(vma, vaddr); \
memcpy(dst, src, len); \
} while (0)

extern void (*flush_cache_sigtramp)(unsigned long addr);
extern void (*flush_icache_all)(void);
Expand Down

0 comments on commit 8840ec8

Please sign in to comment.