diff options
Diffstat (limited to 'arch/mn10300/include/asm/processor.h')
-rw-r--r-- | arch/mn10300/include/asm/processor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mn10300/include/asm/processor.h b/arch/mn10300/include/asm/processor.h index f7d4b0d285e..fd96c180e64 100644 --- a/arch/mn10300/include/asm/processor.h +++ b/arch/mn10300/include/asm/processor.h | |||
@@ -157,7 +157,7 @@ unsigned long get_wchan(struct task_struct *p); | |||
157 | 157 | ||
158 | static inline void prefetch(const void *x) | 158 | static inline void prefetch(const void *x) |
159 | { | 159 | { |
160 | #ifndef CONFIG_MN10300_CACHE_DISABLED | 160 | #ifdef CONFIG_MN10300_CACHE_ENABLED |
161 | #ifdef CONFIG_MN10300_PROC_MN103E010 | 161 | #ifdef CONFIG_MN10300_PROC_MN103E010 |
162 | asm volatile ("nop; nop; dcpf (%0)" : : "r"(x)); | 162 | asm volatile ("nop; nop; dcpf (%0)" : : "r"(x)); |
163 | #else | 163 | #else |
@@ -168,7 +168,7 @@ static inline void prefetch(const void *x) | |||
168 | 168 | ||
169 | static inline void prefetchw(const void *x) | 169 | static inline void prefetchw(const void *x) |
170 | { | 170 | { |
171 | #ifndef CONFIG_MN10300_CACHE_DISABLED | 171 | #ifdef CONFIG_MN10300_CACHE_ENABLED |
172 | #ifdef CONFIG_MN10300_PROC_MN103E010 | 172 | #ifdef CONFIG_MN10300_PROC_MN103E010 |
173 | asm volatile ("nop; nop; dcpf (%0)" : : "r"(x)); | 173 | asm volatile ("nop; nop; dcpf (%0)" : : "r"(x)); |
174 | #else | 174 | #else |