Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 108911
b: refs/heads/master
c: 7265706
h: refs/heads/master
i:
  108909: 05e6aa3
  108907: a1a0b45
  108903: eb5eda3
  108895: e31bf0b
v: v3
  • Loading branch information
Adrian Bunk authored and Paul Mundt committed Aug 11, 2008
1 parent 9d6997a commit 06fd0cc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e77eb36472cdc425a3a81356c7b368e59a36da31
refs/heads/master: 7265706c8fd57722f622f336ec110cb35f83e739
10 changes: 10 additions & 0 deletions trunk/arch/sh/include/cpu-sh3/cpu/cacheflush.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,16 @@ void flush_cache_page(struct vm_area_struct *vma, unsigned long addr, unsigned l
void flush_dcache_page(struct page *pg);
void flush_icache_range(unsigned long start, unsigned long end);
void flush_icache_page(struct vm_area_struct *vma, struct page *page);

#define flush_dcache_mmap_lock(mapping) do { } while (0)
#define flush_dcache_mmap_unlock(mapping) do { } while (0)

/* SH3 has unified cache so no special action needed here */
#define flush_cache_sigtramp(vaddr) do { } while (0)
#define flush_icache_user_range(vma,pg,adr,len) do { } while (0)

#define p3_cache_init() do { } while (0)

#else
#include <cpu-common/cpu/cacheflush.h>
#endif
Expand Down

0 comments on commit 06fd0cc

Please sign in to comment.