diff options
author | Chris Zankel <chris@zankel.net> | 2008-01-18 19:15:29 -0500 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2008-02-13 20:43:26 -0500 |
commit | 9f8fcf38e8928cccf8c7b32668d146e457f2ccf2 (patch) | |
tree | b29696373225a93876e7b5ec64bcd51bbf75ee98 /include/asm-xtensa/cacheflush.h | |
parent | 679262578ba975037901556b2ddc6b17a77cf671 (diff) |
[XTENSA] Fix cache flush macro for D$/I$ aliasing/non-aliasing
For configurations that have aliasing in the data cache but
not in the instruction cache, we don't need to flush the
instruction cache. Thus, we didn't define the macros to
flush the instruction cache. Some cache-flush functions,
howerver, were using those macros.
Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'include/asm-xtensa/cacheflush.h')
-rw-r--r-- | include/asm-xtensa/cacheflush.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-xtensa/cacheflush.h b/include/asm-xtensa/cacheflush.h index b773c57e75a5..94c4c53a099e 100644 --- a/include/asm-xtensa/cacheflush.h +++ b/include/asm-xtensa/cacheflush.h | |||
@@ -70,6 +70,8 @@ extern void __flush_invalidate_dcache_page_alias(unsigned long, unsigned long); | |||
70 | #endif | 70 | #endif |
71 | #if (ICACHE_WAY_SIZE > PAGE_SIZE) | 71 | #if (ICACHE_WAY_SIZE > PAGE_SIZE) |
72 | extern void __invalidate_icache_page_alias(unsigned long, unsigned long); | 72 | extern void __invalidate_icache_page_alias(unsigned long, unsigned long); |
73 | #else | ||
74 | # define __invalidate_icache_page_alias(v,p) do { } while(0) | ||
73 | #endif | 75 | #endif |
74 | 76 | ||
75 | /* | 77 | /* |